/* VedantSri Brochure Form Styles */
.vedantsri-brochure-form-container {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

.vedantsri-form-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.2);
    border: 3px solid #e3f2fd;
}

.form-header {
    background: linear-gradient(135deg, #2c5aa0, #2980b9);
    padding: 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.form-header:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.form-header h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}

.subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.institute-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 50px;
    margin-top: 15px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 18px;
}

.vedantsri-brochure-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
}

.label-icon {
    font-size: 20px;
}

.required {
    color: #e74c3c;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid #aed6f1;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.15);
}

.field-icon {
    position: absolute;
    left: 15px;
    top: 42px;
    color: #2c5aa0;
    font-size: 20px;
}

.form-control::placeholder {
    color: #95a5a6;
}

.course-selection-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8fcff;
    border-radius: 12px;
    border: 2px solid #e3f2fd;
}

.course-selection-section h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 24px;
}

.course-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.course-option {
    background: white;
    border: 2px solid #aed6f1;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.course-option:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.2);
    border-color: #2c5aa0;
}

.course-option.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.course-icon {
    font-size: 28px;
}

.course-name {
    font-weight: 600;
    font-size: 14px;
}

.form-submit {
    margin: 30px 0;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #2c5aa0, #3498db);
    color: white;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    background: linear-gradient(135deg, #2563a5, #2980b9);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(44, 90, 160, 0.3);
}

.submit-button:active {
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.button-icon {
    font-size: 24px;
}

.button-loader {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-note {
    display: flex;
    gap: 15px;
    background: #e8f4ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 5px solid #2c5aa0;
}

.note-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.note-content {
    flex: 1;
    font-size: 14px;
    color: #2c5aa0;
    line-height: 1.5;
}

.contact-info-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    border: 2px solid #aed6f1;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.contact-icon {
    font-size: 20px;
}

.contact-text {
    font-weight: 500;
}

/* Success Modal */
.vedantsri-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.success-animation {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.checkmark {
    font-size: 40px;
    color: #27ae60;
    font-weight: bold;
    animation: checkmark 0.5s ease 0.3s both;
}

@keyframes checkmark {
    from { transform: scale(0) rotate(45deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

.modal-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 30px;
}

.success-message {
    text-align: center;
    margin-bottom: 25px;
}

.success-message p {
    font-size: 18px;
    color: #5d6d7e;
    margin-bottom: 25px;
}

.success-details {
    background: #f8fcff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    font-size: 16px;
}

.detail-icon {
    font-size: 24px;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.next-steps {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
}

.next-steps h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 18px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
}

.step-icon {
    font-size: 20px;
    background: #e8f4ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-footer {
    display: flex;
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    gap: 15px;
}

.modal-btn {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.close-btn {
    background: #e0e0e0;
    color: #333;
}

.call-btn {
    background: linear-gradient(135deg, #2c5aa0, #3498db);
    color: white;
}

.close-btn:hover {
    background: #d0d0d0;
}

.call-btn:hover {
    background: linear-gradient(135deg, #2563a5, #2980b9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .vedantsri-form-wrapper {
        margin: 0 15px;
    }
    
    .form-header {
        padding: 25px 20px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .vedantsri-brochure-form {
        padding: 25px 20px;
    }
    
    .course-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-control {
        padding: 14px 20px 14px 45px;
    }
    
    .submit-button {
        padding: 18px;
        font-size: 16px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header {
        padding: 25px 20px;
    }
    
    .modal-header h3 {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .form-header h3 {
        font-size: 22px;
    }
    
    .header-icon {
        font-size: 40px;
    }
    
    .course-options-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        width: 100%;
        justify-content: center;
    }
    
    .form-note {
        flex-direction: column;
        text-align: center;
    }
    
    .success-animation {
        width: 60px;
        height: 60px;
    }
    
    .checkmark {
        font-size: 30px;
    }
}