/* Custom styles to supplement Tailwind */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8fafc; /* Very light slate background */
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-title {
    font-family: 'Lilita One', 'Roboto', sans-serif;
    letter-spacing: 0.05em;
}

/* Hero Image overlay for better text readability */
.hero-overlay {
    background: linear-gradient(to right, rgba(6, 54, 114, 0.9) 0%, rgba(6, 54, 114, 0.6) 100%);
}

/* Simple hover transition for links and buttons */
.transition-all-200 {
    transition: all 0.2s ease-in-out;
}

/* Ensure the mobile menu has a smooth transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 300px; /* Adjust based on content */
    opacity: 1;
}

.form-frame-container {
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
/* FAQ Accordion Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Arbitrary large number to allow content to show */
    opacity: 1;
    padding-top: 1rem; /* 16px */
    padding-bottom: 1.5rem; /* 24px */
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
/* Container to equalize logo sizes across formats */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem;
    width: 100%;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* ----- SPONSOR PAGE SPECIFIC STYLES ----- */
.neotech-container {
    font-family: 'Roboto', sans-serif;
    width: 95%;
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
}

.neotech-card {
    background: #ffffff;
    border: 1px solid rgba(6, 54, 114, 0.1);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(6, 54, 114, 0.04);
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.neotech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: #063672;
}

.neotech-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(6, 54, 114, 0.08);
}

.neotech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 2px solid rgba(6, 54, 114, 0.06);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.neotech-title {
    font-family: 'Lilita One', cursive !important;
    color: #063672;
    font-size: 2.4rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.neotech-price {
    font-family: 'Lilita One', cursive !important;
    background-color: #DFB34E;
    color: #063672;
    font-size: 1.6rem;
    padding: 8px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(223, 179, 78, 0.2);
}

.neotech-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.neotech-list li {
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
    color: #3A4756;
    font-size: 1.05rem;
}

.neotech-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #DFB34E;
    font-weight: bold;
    font-size: 1.1rem;
}

.neotech-collapsible {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.neotech-collapsible.expanded {
    opacity: 1;
    margin-top: 14px;
}

.neotech-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.btn-dropdown {
    background-color: #f3f4f6;
    color: #063672;
    border: none;
    padding: 8px 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-dropdown:hover {
    background-color: #e5e7eb;
}

.btn-dropdown .arrow {
    font-size: 0.75rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dropdown.expanded .arrow {
    transform: rotate(180deg);
}

/* Permanently visible sponsor button container */
.sponsor-container {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.btn-primary {
    background-color: #063672;
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(6, 54, 114, 0.2);
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #04244d;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(6, 54, 114, 0.3);
}

/* MODAL FORM STYLING */
.neotech-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 54, 114, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.neotech-modal {
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
    border-radius: 16px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(6, 54, 114, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    border-top: 8px solid #063672;
}

@keyframes modalFadeIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.neotech-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px 32px;
    border-bottom: 1px solid rgba(6, 54, 114, 0.08);
}

.neotech-modal-title {
    font-family: 'Lilita One', cursive !important;
    color: #063672;
    font-size: 2rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.neotech-modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #3A4756;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    transition: color 0.2s;
}

.neotech-modal-close:hover {
    color: #DFB34E;
}

.neotech-form {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* IN-LINE SUCCESS & ERROR PANELS */
.neotech-ui-panel {
    display: none;
    padding: 48px 32px;
    text-align: center;
    animation: modalFadeIn 0.4s ease;
}

.panel-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    line-height: 1;
}

.panel-heading {
    font-family: 'Lilita One', cursive !important;
    font-size: 2rem;
    margin: 0 0 12px 0;
}

.panel-body {
    color: #3A4756;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 28px 0;
    max-width: 480px;
    display: inline-block;
}

.neotech-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.neotech-form-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #063672;
    font-size: 0.95rem;
}

.neotech-form-label span {
    color: #DFB34E;
    font-weight: bold;
}

.neotech-form-control {
    font-family: 'Roboto', sans-serif;
    padding: 12px 16px;
    border: 1px solid rgba(6, 54, 114, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    color: #3A4756;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
    width: 100%;
}

.neotech-form-control:focus {
    border-color: #063672;
    box-shadow: 0 0 0 3px rgba(6, 54, 114, 0.1);
}

textarea.neotech-form-control {
    resize: vertical;
    min-height: 80px;
}

.neotech-checkbox-label {
    font-family: 'Roboto', sans-serif;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    color: #3A4756;
    line-height: 1.5;
}

.neotech-checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: #063672;
    cursor: pointer;
    flex-shrink: 0;
}

.neotech-form-submit {
    margin-top: 10px;
    width: 100%;
}

@media (max-width: 600px) {
    .neotech-card {
        padding: 24px;
    }
    .neotech-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .neotech-title {
        font-size: 2rem;
    }
    .sponsor-container {
        width: 100%;
    }
    .btn-primary {
        width: 100%;
        box-sizing: border-box;
    }
    .neotech-modal {
        max-height: 95vh;
    }
    .neotech-form, .neotech-ui-panel {
        padding: 20px;
    }
    .neotech-modal-header {
        padding: 16px 20px 12px 20px;
    }
    .neotech-modal-title {
        font-size: 1.6rem;
    }
}
