body {
    font-family: 'Cairo', sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
}

.main-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.header-custom {
    background: linear-gradient(135deg, #2d4356 0%, #435B66 100%);
    color: white;
    padding: 1.5rem;
}

.icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    backdrop-filter: blur(5px);
}

.icon-wrapper i {
    color: #A5D7E8;
    font-size: 1.4rem;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.description-text {
    color: #2d4356;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    padding: 0 0.5rem;
}

.questionnaire-title {
    color: #2d4356;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #eee;
}

.table {
    margin-top: 1.2rem;
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background: linear-gradient(135deg, #2d4356 0%, #435B66 100%);
    color: white;
    font-weight: 600;
    padding: 1rem;
    font-size: 1.1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

.form-control {
    border: 2px solid #eee;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #A5D7E8;
    box-shadow: 0 0 0 0.2rem rgba(165, 215, 232, 0.25);
}

.quote-cell {
    background-color: #f8f9fa;
    font-style: italic;
    text-align: center;
    padding: 1.5rem !important;
    line-height: 1.8;
    color: #2d4356;
    border-top: 2px solid #eee;
}

.quote-section {
    background-color: #f8f9fa;
    border-right: 4px solid #2d4356;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.quote-header {
    color: #2d4356;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quote-text {
    font-style: italic;
    color: #2d4356;
    margin: 0;
    padding: 0;
    position: relative;
}

.quote-text p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.2rem;
}

.quote-text:before {
    content: '"';
    font-size: 4rem;
    color: #2d4356;
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    right: -1rem;
    font-family: Arial, sans-serif;
}

.notes-section {
    background-color: #fff3cd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.notes-section h3 {
    color: #856404;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.notes-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.notes-section li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #856404;
}

.notes-section li:before {
    content: "•";
    position: absolute;
    right: 0;
    color: #856404;
    font-weight: bold;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.modal-header {
    background: linear-gradient(135deg, #2d4356 0%, #435B66 100%);
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    width: 100%;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0 0 12px 12px;
}

.modal-icon {
    font-size: 3rem;
    color: #2d4356;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #A5D7E8, 0 0 10px #A5D7E8, 0 0 15px #2d4356;
    }
    to {
        text-shadow: 0 0 10px #A5D7E8, 0 0 20px #A5D7E8, 0 0 30px #2d4356;
    }
}

.modal-description {
    color: #2d4356;
    font-size: 1.1rem;
    line-height: 2;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(165, 215, 232, 0.1);
    border-radius: 8px;
}

.form-label {
    color: #2d4356;
    font-weight: 600;
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-description {
        font-size: 1rem;
        line-height: 1.8;
        padding: 0.8rem;
    }

    .modal-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .modal-body {
        padding: 1rem;
    }

    .modal-description {
        padding: 0.6rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    .header-custom {
        padding: 1rem;
    }

    h1 {
        font-size: 1.4rem;
    }

    .description-text {
        font-size: 1rem;
        margin: 1rem 0;
    }

    .questionnaire-title {
        font-size: 1.3rem;
    }

    .table th,
    .table td {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .form-control {
        padding: 0.6rem;
    }

    .quote-cell {
        padding: 1rem !important;
        font-size: 0.95rem;
    }

    .quote-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .quote-text p {
        font-size: 1.1rem;
    }

    .notes-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .notes-section h3 {
        font-size: 1.2rem;
    }

    .notes-section li {
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .table {
        margin: 0 -0.5rem;
    }

    .form-control {
        font-size: 0.9rem;
    }
    .quote-section {
        padding: 1rem;
        margin: 1rem 0;
    }

    .quote-text p {
        font-size: 1rem;
    }
}


/* Share Section Styles */
.share-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-in;
}

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

.share-section h4 {
    color: #2d4356;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.btn-social {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-social i {
    font-size: 1.2rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border: none;
}

.btn-facebook {
    background-color: #1877f2;
    border: none;
}

.btn-whatsapp {
    background-color: #25D366;
    border: none;
}

.btn-twitter {
    background-color: #000000;
    border: none;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.home-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness for Share Section */
@media (max-width: 768px) {
    .share-section {
        padding: 1rem;
    }

    .btn-social, .home-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Show Results Button Styles */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-lg:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 67, 86, 0.3);
}

.btn-lg:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-lg i {
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
    .share-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

/* Download Section Styles */
.download-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid rgba(45, 67, 86, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-icon {
    font-size: 3rem;
    color: #FF8C32;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.download-section h3 {
    color: #2d4356;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.download-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-download {
    background: linear-gradient(135deg, #FF8C32 0%, #E96A43 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 140, 50, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 50, 0.4);
    color: white;
    background: linear-gradient(135deg, #E96A43 0%, #FF8C32 100%);
}

.btn-download i {
    font-size: 1.2rem;
}

/* Mobile Responsiveness for Download Section */
@media (max-width: 768px) {
    .download-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .download-icon {
        font-size: 2.5rem;
    }

    .download-section h3 {
        font-size: 1.3rem;
    }

    .btn-download {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .download-section {
        padding: 1rem;
        margin: 1rem 0;
    }
}

/* Exercise Button Styles */
.exercise-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2d4356 0%, #435B66 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(45, 67, 86, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.exercise-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 67, 86, 0.3);
    background: linear-gradient(135deg, #435B66 0%, #2d4356 100%);
}

.exercise-btn i {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .exercise-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .exercise-btn i {
        font-size: 1.2rem;
    }
}

/* Footer Styles */
.footer {
    background: #f8f9fa;
    color: #6c757d;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-contact {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-contact a {
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    background: rgba(108, 117, 125, 0.1);
    font-size: 0.9rem;
}

.footer-contact a:hover {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
}

.footer-website a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-website a:hover {
    color: #495057;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}