@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&display=swap');

@font-face {
    font-family: 'Impact';
    src: 
         url('../fonts/impact.woff') format('woff'),
         url('../fonts/impact.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "BIZ UDPGothic", sans-serif;
}

.title-jp {
    font-size: 30px;
    font-weight: 700;
    color: rgba(24, 38, 113, 1);
    text-align: center;
    margin-bottom: 0;
}

.title-en {
    font-size: 20px;
    font-weight: 700;
    color: rgba(244, 104, 13, 1);  
    text-align: center;  
}

.title-wrap {
    position: relative;
}

.title-wrap .title-bg {
    text-align: center;
}

.title-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*=======  Common=========*/
.container {
    max-width: 1460px;
}

.sp-show {
    display: none;
}

.sp-none {
    display: inline-block;
}

.w1100 {
    max-width: 1100px;
    margin: 0 auto;
}

.mgt-10 {
    margin-top: 10px;
}

.mgt-20 {
    margin-top: 20px;
}

.mgt-30 {
    margin-top: 30px;
}

.mgt-40 {
    margin-top: 40px;
}

.mgt-60 {
    margin-top: 60px;
}

.mgt-80 {
    margin-top: 80px;
}

.mgt-100 {
    margin-top: 100px;
}

.mgb-10 {
    margin-bottom: 10px;
}

.mgb-20 {
    margin-bottom: 20px;
}

.mgb-30 {
    margin-bottom: 30px;
}

.mgb-40 {
    margin-bottom: 40px;
}

.mgb-60 {
    margin-bottom: 60px;
}

.mgb-80 {
    margin-bottom: 80px;
}

/*======= Header =========*/
/* .btn-contact {
    background: linear-gradient(to right, rgba(255, 194, 8, 1), rgba(242, 91, 13, 1), rgba(230, 0, 18, 1));
    color: #fff;   
    font-weight: 700;
    padding: 15px 25px!important;
    border-radius: 35px;
    text-decoration: none;
    width: fit-content!important;
}

.btn-contact:hover {
    color: #fff!important;
} */

/*======= Main FV =========*/
#main {
    position: relative;   
    height: 100%;
    width: 100%;  
    z-index: 2;
    overflow: hidden;  
    margin-top: 70px;  
}

#main .container-fluid {
    padding: 0;
}

#main h2 img {
    width: 100%;
}

.main-content-wrapper {
    position: relative;
}

.main-content {
    position: absolute;
    top: 55%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);    
}

.main-content-text-title {
    color: rgba(255, 223, 79, 1);
    font-size: 96px;
    font-weight: 700;
    text-align: center;
    text-shadow: 5px 5px 10px rgba(75, 82, 88, 1);
    margin-bottom: 0;
}

.main-content-text h2 {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
}

.main-content-text h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.main-content-text h4 {
    color: rgba(255, 223, 79, 1);
    font-size: 30px;
    font-weight: 700;
}

.main-content-text h4 span {
    font-size: 24px;
}

.main-content-button {
    margin-top: 50px;
}

.main-content-button2 {
    margin-top: 20px;
}

.btn-contact {
   background: #fff;
   color: rgba(0, 121, 225, 1);
   font-size: 20px;
   font-weight: 700;
   padding: 20px 10px;
   width: 317px;
   display: inline-block;
}

.btn-contact:first-child {
    margin-right: 30px;
}

.btn-contact:hover {
    color: rgba(0, 121, 225, 1);
    text-decoration: none;
}

.img-call {
    height: 28px;
}

.txt-bold {
    font-weight: 700;
}

.btn-contact-header {
    background: linear-gradient(to bottom, rgba(255, 223, 79, 1), rgba(255, 141, 41, 1));
    color: #fff!important;
    font-weight: 700!important;
    padding: 15px 15px!important;    
    text-decoration: none!important;
    width: fit-content!important;
}

/*======= Offer Section =========*/
#offer {
    padding: 80px 0 60px;
    background: rgba(211, 232, 249, 1);
    margin-top: -10px;
}

.bg-white {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 1);
    padding: 40px 15px 10px;
}

.offer-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.inner-wrapper {
    padding: 60px 90px 40px;
}

.offer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;   
    margin-top: 40px;  
    gap: 30px;  
}

.offer-item {
    width: calc((100% - 2 * 30px) / 3);  
    height: 220px;
    background: rgba(0, 121, 225, 0.8);
    color: #fff;   
    padding: 10px;
    border-radius: 50%;
}

.offer-item-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 20px auto 10px;
    display: block;  
    filter: invert(1);
}

.offer-item-title {
    text-align: center;
}

.offer-content-button {
    text-align: center;
    margin: 60px auto 0;
}

.offer-content-button3 {
    text-align: center;
    margin: 40px auto 0;
}

/*======= Reason Section =========*/
#reason {
    padding: 80px 0 60px;
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;    
}



.bg-white2 {
    background: rgba(255, 255, 255, 0.8);
}

.reason-header {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 40px 0 60px;
}

.reason-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;   
    align-items: center;
}

.reason-wrapper:nth-child(odd) {
    flex-direction: row-reverse;
}

.reason-item-img {
    flex: 100%;
    max-width: calc(100% / 2);
    width: 100%;
}

.reason-item-img img {
    width: 100%;
}

.reason-item-text {
    flex: 100%;
    max-width: calc(100% / 2);
    width: 100%;
    padding: 0 15px;
}

.reason-title {
    color: rgba(51, 51, 51, 1);
    font-size: 24px;
    font-weight: 700;    
    position: relative;
}

.reason-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background: rgba(0, 121, 225, 1);
}

.reason-desc {
    color: rgba(51, 51, 51, 1); 
    margin-top: 20px;
}


/*======= Future Section =========*/
#future {
    padding: 80px 0 60px;
    background-image: url('../images/bg2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.future-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
}

.future-text {
    margin-top: 40px;
}


/*======= Declaration Section =========*/
#declaration {
    padding: 80px 0 80px;    
}

.title-declare {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center; 
}

.declare-img img {
    width: 100%;
}

.declare-text {
    padding: 0 15px;
}

.declare-text-desc {
    color: rgba(51, 51, 51, 1); 
}

/*======= Summer Course Section =========*/
#summer-course {
    padding: 80px 0 80px;
    background-image: url('../images/bg3.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.summer-course-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.summer-course-tab {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start; 
}

.summer-course-tab-item {
    background: rgba(211, 232, 249, 1);
    color: rgba(0, 121, 225, 1);
    font-weight: 700;
    border: 1px solid rgba(0, 121, 225, 1);
    padding: 20px 10px;
    width: 180px;
    text-align: center;
    cursor: pointer;
}

.summer-course-tab-item.active {
    background: rgba(0, 121, 225, 1);
    color: #fff;
}

.tab-content {
    display: none;    
    min-height: 100px;
}

.tab-content.active {
    display: block !important;
}

.tab-content-table {
    
}

table.tbl-course1, table.tbl-course2, table.tbl-course3 {
    width: 100%;
    border-collapse: collapse;      
}

table.tbl-course1 tr th, table.tbl-course2 tr th, table.tbl-course3 tr th {
    border: 1px solid rgba(211, 232, 249, 1);
    padding: 20px 10px;
    background: rgba(0, 121, 225, 1);
    color: #fff;
    text-align: center;
}

table.tbl-course1 tr td, table.tbl-course2 tr td, table.tbl-course3 tr td {
    border: 1px solid rgba(0, 121, 225, 1);
    padding: 10px 20px;
    background: #fff;
    vertical-align: middle;
}

table.tbl-course1-sp tr th, table.tbl-course2-sp tr th, table.tbl-course3-sp tr th {
    border: 1px solid rgba(211, 232, 249, 1);
    padding: 20px 10px;
    background: rgba(0, 121, 225, 1);
    color: #fff;
    text-align: center;
}

table.tbl-course1-sp tr td, table.tbl-course2-sp tr td, table.tbl-course3-sp tr td {
    border: 1px solid rgba(0, 121, 225, 1);
    padding: 10px 20px;
    background: #fff;
    vertical-align: middle;
}


table.tbl-course1-sp tr td:first-child, table.tbl-course2-sp tr td:first-child, table.tbl-course3-sp tr td:first-child {
    text-align: center;
    font-weight: 700;
}

/*======= Message Section =========*/
#message {
    padding: 80px 0 80px;    
}

.message-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.message-head {
    color: rgba(0, 121, 225, 1);
    font-size: 20px;
    font-weight: 700;   
    margin-bottom: 20px;
}

.message-body {
    color: rgba(51, 51, 51, 1);
    line-height: 2.0em;
}

.txt-highlight {    
    text-decoration: underline;
    text-decoration-color: #ffdf4f;
    text-underline-offset: -5px;
    text-decoration-thickness: 10px;   
}

.message-img {
    text-align: center;
}

.message-img img {
    max-width: 100%;
}

/*======= Schedule Fee Section =========*/
#schedule-fee {
    padding: 80px 0 80px;
    background: rgba(211, 232, 249, 1);
}

.schedule-fee-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.table-head {
    color: rgba(51, 51, 51, 1);
    font-size: 20px;
    font-weight: 700;    
}

table.tbl-fee1, table.tbl-fee2, table.tbl-fee3 {
    width: 100%;
    border-collapse: collapse;      
}

table.tbl-fee1 tr th, table.tbl-fee2 tr th, table.tbl-fee3 tr th {
    background: rgba(0, 121, 225, 1);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(211, 232, 249, 1);
    padding: 20px 20px;
    text-align: center;
}

table.tbl-fee1 tr td, table.tbl-fee2 tr td, table.tbl-fee3 tr td {
    border: 1px solid rgba(0, 121, 225, 1);
    background: #fff;
    padding: 20px 20px;
    text-align: center;
    vertical-align: middle;
}

table.tbl-fee1 tr td:first-child, table.tbl-fee2 tr td:first-child, table.tbl-fee3 tr td:first-child {
    width: 20%;
}

table.tbl-fee1 tr td:nth-child(2), table.tbl-fee2 tr td:nth-child(2), table.tbl-fee3 tr td:nth-child(2) {
    width: 25%;
}

table.tbl-fee1-sp, table.tbl-fee2-sp, table.tbl-fee3-sp { 
    width: 100%;
    border-collapse: collapse; 
    display: none;     
}

table.tbl-fee1-sp tr th, table.tbl-fee2-sp tr th, table.tbl-fee3-sp tr th {
    background: rgba(0, 121, 225, 1);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(211, 232, 249, 1);
    padding: 20px 20px;
    text-align: center;
}

table.tbl-fee1-sp tr td, table.tbl-fee2-sp tr td, table.tbl-fee3-sp tr td {
    border: 1px solid rgba(0, 121, 225, 1);
    background: #fff;
    padding: 20px 20px;
    text-align: center;
    vertical-align: middle;
}

.btn-download {
    background: #fff;
    color: rgba(51, 51, 51, 1);
    font-size: 20px;
    font-weight: 700;
    padding: 20px 20px;
    width:fit-content;
    display: inline-block;
 }
  
 .btn-download:hover {
     color: rgba(51, 51, 51, 1);
     text-decoration: none;
 }

 .img-download {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 10px;
 }

/*======= Stories Section =========*/
#stories {
    padding: 80px 0 80px;
}

.stories-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.story-item {
    border: 1px solid rgba(0, 121, 225, 1);
}

.story-head {
    background: rgba(211, 232, 249, 1);
    padding: 15px 30px;
    color: rgba(0, 121, 225, 1);
    font-weight: 700;
    font-size: 20px;
}


.story-num {
    background: rgba(0, 121, 225, 1);
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    padding: 10px;
}

.story-body {
    padding: 30px 30px 10px 30px;
}

/*======= Recommendation Section =========*/
.recommendation-item {
    background: #fff;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);     */
    margin-bottom: 30px;
}

.img-recommendation {
    width: 300px;
    height: auto;
    margin: 0 30px 10px 0;
}

.floated {
    float: left;    
}

.recommendation-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(0, 121, 225, 1);
    margin-bottom: 20px;    
    padding: 0 20px 10px 0;
    border-bottom: 1px solid rgba(0, 121, 225, 1);
    display: flex;
}

.offer-content-button2 {
    text-align: center;
    margin: 30px auto 0;
}

.blue-border {
    border: 2px solid rgba(0, 121, 225, 1);
}

/*======= Access Section =========*/
#access {
    padding: 80px 0 80px;
    background: rgba(211, 232, 249, 1);
}

.access-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.access-info {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}


/*======= FAQ Section =========*/
#faq {
    padding: 80px 0 80px;    
}

.faq-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.faq-question {
    border: 1px solid rgba(0, 121, 225, 1);
    background: rgba(211, 232, 249, 1);
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-family: "noto-sans-cjk-jp", sans-serif;
}

.faq-answer {
    padding: 15px;
    display: flex;
    align-items: flex-start;
    font-family: "noto-sans-cjk-jp", sans-serif;
    margin-bottom: 20px;
}

.qnum {
    background: rgba(0, 121, 225, 1);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    font-family: "noto-sans-cjk-jp", sans-serif;
    border-radius: 50%;   
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.anum {
    background: rgba(211, 232, 249, 1);
    color: rgba(0, 121, 225, 1);
    font-size: 20px;
    font-weight: 700;
    font-family: "noto-sans-cjk-jp", sans-serif;
    border-radius: 50%;    
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 121, 225, 1);
}

.qtext, .atext {
    flex-grow: 1;
}

.atext p {
    margin-bottom: 0;
}

/*======= Contact Section =========*/
#contact {
    padding: 80px 0 80px;
    background-image: url('../images/bg4.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-white3 {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px 15px 10px;
}

.contact-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.contact-text {
    display: flex;
    justify-content: center;
    color: rgba(51, 51, 51, 1);
    font-weight: 700;
    margin-top: 40px;
}

.contact-text2 {
    text-align: center;
    margin-top: 40px;
    font-size: 20px;
    font-weight: 700;
    color: rgba(51, 51, 51, 1);
}

.contact-tel {
    margin-top: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: rgba(0, 121, 225, 1);
}

.contact-tel a:hover {
    color: rgba(0, 121, 225, 1);
    text-decoration: none;
}

.contact-note {
    display: flex;
    justify-content: center;
    color: rgba(51, 51, 51, 1);   
    margin: 40px 0;
}

#contact-form {
    margin-top: 40px;
}

.contact-form {   
    width: 80%;
    margin: 40px auto 0;
}

.contact-title2 {
    color: rgba(51, 51, 51, 1);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.form-group p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group p label {
    flex: 100%;
    min-width: 260px;
    max-width: 20%;
    /* Adjust based on your longest label */
    white-space: nowrap;
    /* Prevents label from wrapping */
}

.form-group3 p label {
    /* min-width: 200px; */
}

.form-group .required {
    color: #fff;
    background: rgba(0, 121, 225, 1);
    border-radius: 25px;
    margin-left: 5px;
    font-size: 16px;
    font-weight: 700;
    padding: 3px 40px;
    float: right;    
}

.form-group .norequired {
    color: #fff;
    background: rgba(165, 165, 165, 1);
    border-radius: 25px;
    margin-left: 5px;
    font-size: 16px;
    font-weight: 700;
    padding: 3px 40px;
    float: right;    
}


.form-group p .wpcf7-form-control-wrap {
    flex: 1;
    padding: 8px;
    border: 1px solid #000;
    border-radius: 0;
    background-color: #fff;
    color: rgba(89, 89, 89, 1);
}

.form-group3 p .wpcf7-form-control-wrap {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: rgba(89, 89, 89, 1);
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.form-control {
    background: #fff;
    border: none;
    color: #000;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.form-control02 {
    background: #fff;
    border: none;
    width: 100%;
    color: #000;
}

.form-group .form-control02 {
    flex: 1;
    /* Takes up remaining space */
    padding: 8px;
    border: 1px solid #000;
    background-color: transparent;
    color: #000;
}

.form-control {
    border: none;
}

/* Special styling for textarea */
.form-group textarea {
    height: 140px;
    flex: 1;
    color: #000;
    /* Adjust height as needed */
    resize: vertical;
    /* Allows vertical resizing */
    border: none
}

.wpcf7-list-item {
    width: 210px;
}

.btn-submit {
    /* display: block;
    margin: 20px auto 0; */
    cursor: pointer;
    /* background: transparent;
    border: none; */
}

.wpcf7-form-control-wrap {
    display: inline-block;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
    outline: none !important;
}

/* Remove blue glow/outline from Contact Form 7 inputs */
.wpcf7-form-control:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ccc !important;
}

/* Specifically target input and textarea elements */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #ccc !important;
}

/* Override autofill background color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* For Firefox */
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #000 !important;
}

.btn-submit:focus {
    outline: -webkit-focus-ring-color none;
}

.btn-submit {
    background: linear-gradient(to bottom, rgba(255, 223, 79, 1), rgba(255, 141, 41, 1));
    color: #fff;   
    font-weight: 700;
    padding: 15px 40px;    
    text-decoration: none;
    width: fit-content!important;
    margin: 40px auto 0;
    border: none;
}

.btn-submit:hover {
    color: #fff!important;
    text-decoration: none;
}

.btn-submit img {
    margin-left: 10px;
}

/*======= Footer Section =========*/
.footer1 {
    background: rgba(211, 232, 249, 1);
}

.footer-wrap {    
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    /* align-items: center; */
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 15px 20px;
}

.footer-left {
    flex: 100%;
    max-width: calc(50% - 30px);
    margin: 0 30px 30px 0;
}

.footer-right {
    flex: 100%;
    max-width: 50%;
    margin: 0 0 30px 0;
    padding-right: 10px;
}

.ft-info {
    color: rgba(51, 51, 51, 1);
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 20px 20px;
}

.ft-info a {
    color: rgba(51, 51, 51, 1);
}

.ft-info a:hover {
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
}

.ft-address {
    margin: 0 0 0 20px;
}

.ft-sns {    
    margin: 20px 0 0 20px;
    display: inline-block;
}

.ft-sns a {
    margin-right: 10px;
}

.copyright {
    background: rgba(0, 121, 225, 1);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.sp-show {
    display: none;
}

.sp-none {
    display: inline-block;
}

/*======= Modal Popup Styles =========*/
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: rgba(51, 51, 51, 1);
    font-size: 16px;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-form {
    margin-top: 20px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(51, 51, 51, 1);
}

.modal-form .form-group input,
.modal-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 121, 225, 1);
    box-shadow: 0 0 5px rgba(0, 121, 225, 0.2);
}

.modal-form .btn-submit {
    background: linear-gradient(to bottom, rgba(255, 223, 79, 1), rgba(255, 141, 41, 1));
    color: #fff;
    font-weight: 700;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
}

.modal-form .btn-submit:hover {
    opacity: 0.9;
}

.modal-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success message styles */
.modal-success {
    text-align: center;
    padding: 40px 20px;
}

.modal-success h3 {
    color: rgba(0, 121, 225, 1);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-success p {
    color: rgba(51, 51, 51, 1);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.download-link {
    display: inline-block;
    background: linear-gradient(to bottom, rgba(255, 223, 79, 1), rgba(255, 141, 41, 1));
    color: #fff;
    font-weight: 700;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.download-link:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        max-height: 85vh;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
}

/* Loading state */
.modal-loading {
    text-align: center;
    padding: 40px 20px;
}

.modal-loading .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid rgba(0, 121, 225, 1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}