/* Override Bootstrap's form styling */
.form-input {
    height: 50px;
    background-color: white;
    border: 1px solid var(--light-gray);
    color: var(--dark-element);
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 0.25rem rgba(106, 78, 219, 0.25);
    background-color: white;
}

.form-input::placeholder {
    color: var(--medium-gray);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-element);
    font-weight: 500;
}

.form-textarea {
    background-color: white;
    border: 1px solid var(--light-gray);
    color: var(--dark-element);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    font-size: 16px;
    min-height: 150px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 0.25rem rgba(106, 78, 219, 0.25);
    background-color: white;
}

.form-textarea::placeholder {
    color: var(--medium-gray);
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--light-bg), rgba(225, 223, 241, 0.8), var(--light-bg));
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}


.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.method-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(106, 78, 219, 0.2);
}

.contact-method:hover .method-icon {
    box-shadow: 0 10px 20px rgba(106, 78, 219, 0.3);
    transform: rotate(10deg);
}

.method-label {
    color: var(--dark-element);
    font-weight: 500;
    font-size: 16px;
}

/* Contact Content Section */
.contact-content-section {
    background-color: white;
    padding: 80px 0;
    position: relative;
}

.contact-content-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(106,78,219,0), rgba(106,78,219,0.5), rgba(106,78,219,0));
}

.card-title {
    display: flex;
    align-items: center;
    color: var(--dark-element);
    font-size: 28px;
    margin-bottom: 30px;
}

.title-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(106, 78, 219, 0.2);
}

.contact-info-card, .contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(106, 78, 219, 0.08);
}

.contact-info-card:hover, .contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(106, 78, 219, 0.15);
    border-color: var(--accent-green);
}

.contact-info-list {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(106, 78, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--brand-purple);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: var(--brand-purple);
    color: white;
    transform: rotate(10deg);
}

.info-content h3 {
    color: var(--brand-purple);
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p {
    color: var(--dark-gray);
    margin: 0;
}

.social-connect {
    margin-bottom: 30px;
}

.social-connect h3 {
    color: var(--dark-element);
    font-size: 20px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-purple);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 5px 15px rgba(106, 78, 219, 0.2);
}

.instant-support h3 {
    color: var(--dark-element);
    font-size: 20px;
    margin-bottom: 15px;
}

.support-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp, .btn-telegram {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-grow: 1;
    justify-content: center;
    text-decoration: none;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-telegram {
    background-color: #0088cc;
    color: white;
}

.btn-whatsapp:hover, .btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-whatsapp i, .btn-telegram i {
    margin-right: 8px;
    font-size: 18px;
}

/* Form Styles */
.form-floating {
    margin-bottom: 20px;
}

.form-floating .form-control {
    background-color: white;
    border: 1px solid var(--light-gray);
    color: var(--dark-element);
    height: 60px;
    padding: 20px 15px;
}

.form-floating label {
    padding: 20px 15px;
    color: var(--medium-gray);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
    color: var(--brand-purple);
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 25px;
    padding-bottom: 15px;
}

.form-label {
    color: var(--dark-element);
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.form-control {
    background-color: white;
    border: 1px solid var(--light-gray);
    color: var(--dark-element);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: white;
    border-color: var(--brand-purple);
    color: var(--dark-element);
    box-shadow: 0 0 0 0.25rem rgba(106, 78, 219, 0.25);
}

.form-control::placeholder {
    color: var(--medium-gray);
}

.form-select {
    background-color: white;
    border: 1px solid var(--light-gray);
    color: var(--dark-element);
    border-radius: 8px;
    padding: 15px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23383654' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 0.25rem rgba(106, 78, 219, 0.25);
}

.form-check-input {
    background-color: white;
    border: 1px solid var(--light-gray);
}

.form-check-input:checked {
    background-color: var(--brand-purple);
    border-color: var(--brand-purple);
}

.form-check-label {
    color: var(--dark-gray);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.interest-option .form-check-input {
    display: none;
}

.interest-option .form-check-label {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interest-option .form-check-label i {
    font-size: 24px;
    color: var(--dark-gray);
}

.interest-option .form-check-input:checked + .form-check-label {
    background: rgba(106, 78, 219, 0.1);
    border-color: var(--brand-purple);
}

.interest-option .form-check-input:checked + .form-check-label i {
    color: var(--brand-purple);
}

.interest-option .form-check-label:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 78, 219, 0.1);
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-green);
    border-color: var(--success-green);
    border-radius: 8px;
}

.alert-danger {
    background-color: rgba(229, 57, 53, 0.1);
    color: var(--error-red);
    border-color: var(--error-red);
    border-radius: 8px;
}

.loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-spinner i {
    font-size: 20px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    position: relative;
}

.faq-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(106,78,219,0), rgba(106,78,219,0.5), rgba(106,78,219,0));
}

.section-title {
    font-size: 36px;
    color: var(--dark-element);
    margin-bottom: 30px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: white;
    color: var(--dark-element);
    font-weight: 500;
    padding: 20px;
    position: relative;
    border: none;
    text-align: left;
    width: 100%;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: rgba(106, 78, 219, 0.1);
    color: var(--brand-purple);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23383654'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236A4EDB'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px;
    color: var(--dark-gray);
    background: var(--light-bg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--accent-green) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/index/images/pattern-bg.svg');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.cta-title {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-primary {
    background-color: white;
    color: var(--brand-purple);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--light-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-outline-primary {
    color: white;
    border: 2px solid white;
    background-color: transparent;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline-primary:hover {
    background-color: white;
    color: var(--brand-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero particles */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Animation for confetti effect */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(400px) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    border-radius: 3px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-info-card {
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .cta-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .support-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}