/* Reset and base styles */
@import url("https://use.typekit.net/hhj2rnu.css");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*{
    text-decoration: none;
}
body {
    font-family: 'polymath', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #22323e;
    font-weight: 400;
}

.app {
    background-color: #ebf4f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.container {
    background-color: #ebf4f9;
    width: 100%;
    max-width: 1440px;
    position: relative;
}

/* Header */
.header {
    width: 100%;
    padding: 20px 51px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-image {
    max-width: 1000px;
/*    flex: 1;*/
    height: 61px;
}

.contact-button {
    background: linear-gradient(90deg, rgba(0,84,135,1) 0%, rgba(0,92,160,1) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 7px;
    font-family: 'Polymath-Semibold', Helvetica, Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.contact-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Main content */
.main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 1325px;
    margin: 0 auto;
    padding: 48px 16px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease-out forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-title {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 74px;
    font-weight: 500;
    color: #005ca0;
/*    letter-spacing: 2.52px;*/
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: titleSlideIn 0.8s ease-out 0.3s forwards;
    font-weight: 600;
}
.hero-title p {
    background: rgb(131, 183, 204, 0.5);
    font-size: 30px;
    width: 320px;
    margin: auto;
    border-radius: 20px;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-subtitle {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 30px;
    font-weight: 500;
    color: #005ca0;
    letter-spacing: 0.90px;
    max-width: 740px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleSlideIn 0.8s ease-out 0.5s forwards;
    font-weight: 500;
    line-height: 40px;
}

@keyframes subtitleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-description {
    font-family: 'Polymath-Regular', Helvetica, Arial, sans-serif;
    font-size: 20px;
    color: #22323e;
    line-height: 26px;
    max-width: 563px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: descriptionSlideIn 0.8s ease-out 0.7s forwards;
}

@keyframes descriptionSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Circular images */
.circular-image {
    position: absolute;
    background-color: #d9d9d9;
    border: 5px solid white;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8);
    animation: imageZoomIn 0.6s ease-out forwards;
}

@keyframes imageZoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.circular-image.top-left {
    top: 0;
    left: 0;
    width: 192px;
    height: 192px;
    border-radius: 96px;
    animation-delay: 0.9s;
}

.circular-image.top-right {
    top: 0;
    right: 0;
    width: 192px;
    height: 192px;
    border-radius: 96px;
    animation-delay: 1.1s;
}

.circular-image.bottom-left {
    bottom: 0;
    left: 144px;
    width: 198px;
    height: 198px;
    border-radius: 99px;
    animation-delay: 1.3s;
}

.circular-image.bottom-right {
    bottom: 0;
    right: 147px;
    width: 199px;
    height: 199px;
    border-radius: 99.5px;
    animation-delay: 1.5s;
}

.circular-image img {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    position: absolute;
    top: 5px;
    left: 5px;
    object-fit: cover;
}

/* Registration Section */
.registration-section {
    width: 100%;
    max-width: 1353px;
    margin: 32px auto;
    background-color: white;
    border-radius: 27px;
    padding: 40px;
}

.registration-content {
    display: flex;
    gap: 32px;
}

.benefits-section {
    flex: 1;
    position: relative;
}

.benefits-title {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 36px;
    color: #005ca0;
    letter-spacing: 1.20px;
    line-height: 70px;
    margin-bottom: 24px;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
    position: relative;
}

.benefit-item {
    margin-bottom: 24px;
}

.benefit-icon {
    width: 43px;
    height: 43px;
    margin-bottom: 12px;
}

.benefit-text {
    font-family: 'Polymath-Regular', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #22323e;
    line-height: 24px;
}

.separator {
    background-color: #e5e7eb;
}

.separator.horizontal {
    position: absolute;
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.separator.vertical-1 {
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* Form Section */
.form-section {
    flex: 1;
    background-color: #ebf4f9;
    border-radius: 11px;
    padding: 48px;
}

.form-title {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 29px;
    color: #005ca0;
    letter-spacing: 0.90px;
    line-height: 30px;
    margin-bottom: 32px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-input, .form-textarea {
    height: 45px;
    border-radius: 7px;
    border: 0.5px solid #005ca0;
    padding: 12px 16px;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #22323e;
    background-color: white;
}

.form-textarea {
    height: 58px;
    width: 100%;
    resize: vertical;
    margin-bottom: 16px;
}

.form-button {
    width: 219px;
    height: 45px;
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(0,84,135,1) 0%, rgba(0,92,160,1) 100%);
    border: none;
    color: white;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
    font-weight: 600;
}

.form-button:hover {
    opacity: 0.9;
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 7px;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.submission-details {
    background-color: #ebf4f9;
    padding: 15px;
    border-radius: 7px;
    margin-top: 15px;
}

.submission-details h4 {
    color: #005ca0;
    margin-bottom: 10px;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.submission-details p {
    margin: 5px 0;
    font-size: 14px;
}

.download-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(90deg, rgba(0,84,135,1) 0%, rgba(0,92,160,1) 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.download-link:hover {
    opacity: 0.9;
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-title {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 28px;
    color: #005ca0;
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-text {
    font-family: 'Polymath-Regular', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #22323e;
    line-height: 24px;
    margin-bottom: 30px;
}

.modal-close-button {
    background: linear-gradient(90deg, rgba(0,84,135,1) 0%, rgba(0,92,160,1) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 7px;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    font-weight: 600;
}

.modal-close-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Content and Info Wrapper */
.content-info-wrapper {
    display: flex;
    width: 100%;
    gap: 32px;
    padding: 0 20px;
}

.main-content-section, .information-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Main Content Section */
.content-card {
    width: 100%;
    max-width: 664px;
    background-color: white;
    border-radius: 27px;
    padding: 48px;
    margin: 32px 0;
}

.content-title {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 40px;
    color: #005ca0;
    letter-spacing: 1.20px;
    line-height: 70px;
    margin-bottom: 40px;
    font-weight: 600;
}

.content-text {
    font-family: 'Polymath-Regular', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #22323e;
    line-height: 24px;
    max-width: 471px;
}

/* Information Section */
.info-card {
    width: 100%;
    max-width: 664px;
    background-color: white;
    border-radius: 27px;
    padding: 50px 78px;
    margin: 32px 0;
}

.info-title {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 40px;
    color: #005ca0;
    letter-spacing: 1.20px;
    line-height: 70px;
    margin-bottom: 48px;
    font-weight: 600;
}

.info-text {
    font-family: 'Polymath-Regular', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #22323e;
    line-height: 24px;
    margin-bottom: 40px;
    max-width: 471px;
}

.info-button {
    width: 139px;
    height: 45px;
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(0,84,135,1) 0%, rgba(0,92,160,1) 100%);
    border: 0.5px solid #005ca0;
    color: white;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
    display: block;
    text-decoration: none;
    text-align: center;
    line-height: 44px;
    font-weight: 600;
}

.info-button:hover {
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    width: 100%;
    padding: 48px 20px;
}

.faq-main-title {
    text-align: center;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-size: 40px;
    color: #005ca0;
    letter-spacing: 1.20px;
    line-height: 70px;
    margin-bottom: 32px;
    font-weight: 600;
}

.faq-container {
    max-width: 768px;
    margin: 0 auto;
    border-bottom: 1px solid black;
}

.faq-item {
    border-top: 1px solid black;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 27px;
    color: black;
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.2s;
}

.faq-answer {
    padding: 0 0 24px 0;
    font-family: 'Polymath-Regular', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: black;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Workshop Details Section */
.workshop-details-section {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}

.workshop-details-content {
    max-width: 560px;
    text-align: center;
}

.workshop-details-title {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 32px;
    line-height: 41.6px;
    color: black;
    margin-bottom: 16px;
    font-weight: 600;
}

.workshop-details-text {
    font-family: 'Polymath-Regular', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 27px;
    color: black;
}

.workshop-details-text strong {
    font-family: 'polymath-display', Helvetica, Arial, sans-serif;
    font-weight: 700;
}

/* Footer */
.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0px 0 32px;
}

.footer-logo {
    width: 78px;
    height: 78px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .circular-image {
        display: none;
    }
    
    .registration-content {
        flex-direction: column;
    }
    
    .content-info-wrapper {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 20px 20px;
    }
    
    .registration-section {
        margin: 16px 8px;
        padding: 16px;
        max-width: calc(100vw - 16px);
        box-sizing: border-box;
    }
    
    .form-section {
        padding: 16px;
    }
    
    .content-card, .info-card {
        padding: 24px;
    }
    
    .content-title, .info-title, .benefits-title {
        font-size: 32px;
    }
    
    .benefits-section {
        padding-right: 0;
    }
    
    .registration-content {
        gap: 16px;
    }
}
