﻿:root {
    --event-primary: #0d4a6f;
    --event-secondary: #1a8a8a;
    --event-accent: #28a745;
    --event-gold: #c9a227;
    --event-light: #f0f7fa;
    --event-dark: #0a3a5a;
    --event-gradient: linear-gradient(135deg, #0d4a6f 0%, #1a8a8a 50%, #28a745 100%);
    --event-gradient-reverse: linear-gradient(135deg, #28a745 0%, #1a8a8a 50%, #0d4a6f 100%);
    --event-shadow: 0 10px 40px rgba(13, 74, 111, 0.12);
    --event-shadow-hover: 0 20px 60px rgba(13, 74, 111, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}
/* ============================================
   Modal Styles
   ============================================ */
.registration-modal .modal-content,
.guide-modal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(13, 74, 111, 0.25);
}

.registration-modal .modal-header,
.guide-modal .modal-header {
    background: var(--event-gradient);
    padding: 25px 30px;
    border: none;
}

    .modal-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

    .modal-icon.guide {
        background: rgba(231, 76, 60, 0.3);
    }

.modal-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 5px 0 0;
}

.btn-close-modal {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .btn-close-modal:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.registration-modal .modal-body,
.guide-modal .modal-body {
    padding: 30px;
}

/* Form Styles */
.registration-form .form-group {
    margin-bottom: 0;
}

.registration-form .form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--event-dark);
    margin-bottom: 10px;
}

.registration-form .required {
    color: #e74c3c;
}

.input-wrapper {
    position: relative;
}

    .input-wrapper i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--event-secondary);
        font-size: 1rem;
        z-index: 2;
    }

    .input-wrapper.textarea-wrapper i {
        top: 18px;
        transform: none;
    }

    .input-wrapper .form-control,
    .input-wrapper .form-select {
        padding: 14px 45px 14px 15px;
        border: 2px solid #e8f0f3;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        transition: var(--transition-smooth);
        background: #f8fbfc;
    }

        .input-wrapper .form-control:focus,
        .input-wrapper .form-select:focus {
            border-color: var(--event-secondary);
            background: white;
            box-shadow: 0 0 0 4px rgba(26, 138, 138, 0.1);
        }

        .input-wrapper .form-control::placeholder {
            color: #aaa;
        }

    .input-wrapper textarea.form-control {
        min-height: 100px;
        resize: none;
    }

.terms-check {
    padding: 20px;
    background: var(--event-light);
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

    .terms-check .form-check-input {
        width: 20px;
        height: 20px;
        margin-left: 12px;
        border: 2px solid var(--event-primary);
        cursor: pointer;
    }

        .terms-check .form-check-input:checked {
            background-color: var(--event-primary);
            border-color: var(--event-primary);
        }

    .terms-check .form-check-label {
        font-size: 0.95rem;
        color: #555;
        cursor: pointer;
    }

.terms-link {
    color: var(--event-primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Modal Footer */
.registration-modal .modal-footer,
.guide-modal .modal-footer {
    padding: 20px 30px;
    border-top: 2px solid var(--event-light);
    gap: 12px;
}

.btn-modal-cancel {
    padding: 12px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

    .btn-modal-cancel:hover {
        border-color: #e74c3c;
        color: #e74c3c;
        background: rgba(231, 76, 60, 0.05);
    }

.btn-modal-submit {
    padding: 12px 30px;
    background: var(--event-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(13, 74, 111, 0.3);
}

    .btn-modal-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(13, 74, 111, 0.4);
    }

.btn-modal-download {
    padding: 12px 30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

    .btn-modal-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
        color: white;
    }




    /* CV Modal Adjustments */
.cv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.h6-project-item .project-content .project-text .title {
    max-width: 100%;
}

.cv-modal.active {
    display: flex;
}

.cv-modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cv-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 1;
}

    .cv-modal-close:hover {
        background: #d32f2f;
        transform: rotate(90deg);
    }

.cv-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 25px;
}

.cv-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #var(--primary-color), #var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(93,208,240,0.3);
}

.cv-name {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
}

.cv-position {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.cv-section {
    margin-bottom: 25px;
}

.cv-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f4f8;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .cv-section-title i {
        color: var(--primary-color);
        font-size: 20px;
    }

.cv-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
}

    .cv-info-item i {
        color: var(--primary-color);
        font-size: 16px;
        width: 20px;
    }

    .cv-info-item a {
        color: #2c3e50;
        text-decoration: none;
    }

        .cv-info-item a:hover {
            color: var(--primary-color);
        }

.cv-text {
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.cv-list {
    list-style: none;
    padding: 0;
}

    .cv-list li {
        padding: 12px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 10px;
        position: relative;
        padding-right: 35px;
    }

        .cv-list li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            right: 12px;
            top: 12px;
            color: #5DD0F0;
        }

.cv-experience-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    border-right: 4px solid #5DD0F0;
}

.cv-exp-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.cv-exp-company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.cv-exp-period {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.cv-exp-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-skill-tag {
    background: linear-gradient(135deg, #5DD0F0, #3B82F6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}





.team__single-content {
    min-height: 140px;
}

/** lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 58, 90, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 34, 64, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

/*//other css//*/
.footer-logo {
    max-width: 250px;
}



.btn-cus {
    background-color: #218358 !important;
}

    .btn-cus .btn-icon {
        background-color: #185e3f !important;
    }

.txt-webyan {
    color: #2bc4ee;
}



.sec-heading.style-6 .sub-title {
    background-color: rgba(255, 255, 255, 0.15);
    font-size: 18px;
    line-height: 1;
    font-weight: var(--tj-fw-medium);
    padding: 8px 14px 8px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #dcf2fd;
    backdrop-filter: blur(15px);
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
    .h6-project-item {
        border-radius: 45px !important;
    }

    .footer-logo {
        max-width: 325px;
    }
}

/* CV Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .contact-modal.active {
        display: flex;
    }

.contact-modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 1;
}

    .contact-modal-close:hover {
        background: #d32f2f;
        transform: rotate(90deg);
    }

.contact-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 25px;
}

.contact-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #var(--primary-color), #var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(93,208,240,0.3);
}

.contact-name {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-position {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-section {
    margin-bottom: 25px;
}

.contact-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f4f8;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .contact-section-title i {
        color: var(--primary-color);
        font-size: 20px;
    }



.microsoft-form, .google-form {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: auto;
}


p iframe {
    width: 100% !important;
}

p img {
    width: 100% !important;
    height: auto;
    padding: 0 0 10px 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0
}

.google-form iframe, .microsoft-form iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    border: 0
}