:root {
    /* Color variables */
    --primary-color: #002686;
    --secondary-color: #BF0A2F;
    --sub-color: #F2F2F2;
    --white-color: #FFFFFF;
    --tertiary-color: #E00C37;
    --placeholder-color: #999999;
    --text-color: #1E1E1E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    cursor: default;
    font-family: 'Onest', sans-serif;
}

body {
    background-color: var(--white-color);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    color: var(--text-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }


/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sub-color);
}

/* Form elements */
input, textarea, select {
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.4rem;
    margin-bottom: 10px;
}

::placeholder {
    color: var(--placeholder-color);
}

/* Container for consistent padding */
.container {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
}

/* Fluid images */
img {
    max-width: 100%;
    height: auto;
}

main {
    width: 100%;
    max-width: 3000px;
    margin: 0 auto;
    height: auto;
}



/* NAVBAR */

#mobile-navbar {
    padding: 10px;
    width: 100%;
}

.mobile-navbar {

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

}

.mobile-navbar img {
    width: 70px;
    height: auto;
}


.mobile-navbar p {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
    color: var(--primary-color);
}

.mobile-navbar p a {
    font-weight: 600;
    color: #E00C37;
}

#desktop-navbar {
    display: none;
}


.desktop-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;   
}

.desktop-navbar img {
    width: 100px;
    height: auto;
}

.desktop-navbar .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;

}

.desktop-navbar .cta-button p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-color);
}

.desktop-navbar .cta-button a {
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 7px;
    background-color: var(--tertiary-color);
    color: var(--white-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.desktop-navbar .cta-button:hover a {
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--text-color);
    transition: all 0.3s ease;

}

/* RIBBON */

#ribbon {
    background-color: #FA9DB0;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
}


#ribbon p {
    font-size: 0.6rem;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
    color: var(--text-color);
    line-height: 1.2rem;
    animation: pulse 2s infinite;
    
}

/* HERO */

#hero {
    
    width: 100%;
    height: max-content;
    background: linear-gradient(179deg, rgba(0, 0, 0, 0.6) , rgba(0, 0, 0, 0.6)), url('/assets/hero-bg.webp') no-repeat ;
    background-position: left 40% top 90% ;
    background-size: cover;
    padding: 20px;
    
}

.hero-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero-title-container {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#hero .content .left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#hero .line, #hero .sub-title {
     display: none;
}

.main-title h1 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #F2F2F2;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.5;
    
}

#hero .line {
    width: 100%;
    height: 0.5px;
    background-color: rgba(210, 227, 255, 1);
    text-align: left;
   
}

.sub-title {
    width: 100%;
    font-size: 0.75rem;
    font-weight: 400;
    color: #CDCDCD;
    text-align: center;
    line-height: 1rem;
}


#hero .content .right {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 4px;
}

.options {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-title {
    width: 100%;
    background-color: #002868;
    border-radius: 5px;
   

}

.form-title h2 {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sub-color);
    text-align: center;
    padding: 12px 10px;
    margin-bottom: 0;
    line-height: 1rem;

}

.form-option {
    width: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
      
}

.form-option p {
    font-size: 0.7rem;
    font-weight: 550;
    color: var(--text-color);
    padding: 12px 10px;
    text-align: center;
    
}

.form-option:hover {
    background-color: rgba(210, 227, 255, 0.5);
    
}

#quote-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-top: 15px;
    
}

.form {
    width: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.step {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    margin-bottom: 20px;
}


.form-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.form-group {
    width: 100%;
}

input[type="number"], input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%;
    border-radius: 5px;
    border: 1px solid var(--placeholder-color);
    outline: none;
    padding: 10px;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--tertiary-color);
    text-align: center;
}

input[type="number"]::placeholder, input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="tel"]::placeholder {
    color: var(--placeholder-color);
}

.disclaimer p {
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--text-color);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.disclaimer p a {
    color: var(--tertiary-color);
    font-weight: 500;
    
}

.form-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.form-buttons button {
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    
}

.submit-button {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* STEPS */

#three-steps, #about, #choose, #features, #faq {
    width: 100%;
    height: max-content;
    padding: 20px;
    background-color: var(--white-color);
}

#three-steps .content, #about .content {
    gap: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
}

.steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    height: max-content;
    max-width: 160px;
    position: relative;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 2px solid var(--secondary-color);
    background-color: rgba(253, 222, 229, 0.95);
    border-radius: 8px;
    overflow: hidden;
    gap: 4px;
}

.step-image {
    width: 105px;
    height: auto;
    border-radius: 10px;
}

.step-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


.number {
    font-size: 4.8rem;
    font-weight: 700;
    position: absolute;
    left: 1px;
    color: var(--secondary-color);
    z-index: 2;
    top: 80px;
    transform: translate(-50%, -50%);
    -webkit-text-stroke: 2.8px white;  
    text-stroke: 2.8px white;          
    paint-order: stroke fill; 
}

.step-card p {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
    font-weight: 600;
    padding: 0 0.5rem;
}

.title h2 {

    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--secondary-color); 
    line-height: 1.1rem;
    

}

.title h2 span {
    color: var(--primary-color);
    /* display: inline-block; */
}

/* FEATURES RIBBON */

#features-ribbon {
    width: 100%;
    height: auto;
    background-color: rgba(165, 199, 255, 1);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.ribbon-track {
    display: flex;
    width: fit-content;
    animation: scroll 45s linear infinite;
}

.features-ribbon-content {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    white-space: nowrap;
   
}

.ribbon-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ribbon-text h3 {
    font-size: 0.7rem;
    font-weight: 630;
    color: var(--text-color);
    margin-bottom: 0;
}

.ribbon-text h3 span {
    color: var(--text-color);
    font-weight: 400;
    font-style: italic;
}

.cicle {
    width: 8px;
    height: 8px;
    background-color: var(--white-color);
    border-radius: 50%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Add hover pause effect */
.ribbon-track:hover {
    animation-play-state: paused;
}


/* ABOUT */

#about {
    background: #FFF;
}

.about-container {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;

}

.about-content, #choose .card-content, .tab-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;

}



.about-content .other-description , #choose .other-description {
    text-align: justify;
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 0.9rem;
    color: var(--text-color);
    line-height: 0.9rem;
}

.about-container .right, .tab-info .right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container .right .about-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.about-container .right .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}



#about .line, #choose .line {
    background-color: rgba(210, 227, 255, 0.85);
    height: 1px;
    width: 100%;

}

.content .description p , #choose .description p {
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--text-color);
}   

.features-container {
    width: 100%;
}

.about-features {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;

}


.about-content .features-container .about-feature-item,#mobile-view .card-content .choose-feature-item, .tab-info .left .choose-feature-item{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;

}


#about .feature-icon i, #choose .feature-icon i{
    color: rgba(191, 10, 47, 1);
    line-height: 1rem;
}

#about .feature-icon , #choose .feature-icon {
    width: 16px;
    height: 16px;
    display: flex;  
    align-items: flex-start;
    justify-content: center;
}

.cta-btn-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0rem auto;
}

.cta-btn {
    width: 100%;
    background-color: var(--tertiary-color);
    padding: 13px 20px;
    display: flex;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.6rem;
    color: var(--white-color);
    font-weight: 500;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}





.cta-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}



@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
} 


/* CHOOSE */

#choose {
    background-color: rgba(210, 227, 255, 0.3);
}

#choose .content {
  gap: 20px;
}

#choose .title h2 {
    color: var(--primary-color);
}

.choose-features-container {

    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

.choose-features {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
}



/* Mobile View Cards */
#mobile-view {
    width: 100%;
    display: block;
}



.mobile-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card {
    width: 100%;
    border: 1.5px solid rgba(3, 51, 78, 1);
    border-radius: 8px;
    overflow: hidden;
}



.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--white-color);
    cursor: pointer;
}

.card-header h3 {
    font-size: 0.7rem;
    margin: 0;
    color: #313863;
}

.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    color: #313863;
    transition: transform 0.3s ease;
}

.card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white-color);
    padding: 0 15px;
    gap: 15px;
}

.card.active .card-content {
    max-height: 1000px;
    padding: 15px;
}

.card.active .toggle-icon {
    transform: rotate(45deg);
}

.card-content p {
    margin: 0;
    font-size: 0.6rem;
    text-align: justify;
}

.card-content h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #313863;
}

.choose-img {
    width: 100%;
    height: auto;
    border: 1.6px solid var(--text-color);
    border-radius: 8px;

}

.choose-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;

}

#mobile-view .choose-line {
    background-color: rgba(210, 227, 255, 0.85);
    height: 1px;
    width: 100%;

}

#choose.line {
    margin: 4px 0;
}

/* Desktop View */

#desktop-view {
    display: none;
    width: 100%;
}

#desktop-view {
    display: none;
    width: 100%;
}

.tabs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    width: 100%;
    max-width: 450px;
    background: transparent;
    border: 2px solid var(--secondary-color);
    padding: 6px;
    border-radius: 8px;
    font-size: 0.8rem;
    margin: 1rem auto;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-btn:hover {
    background: #999999;
}

.tab-btn.active {
    width: 100%;
    background: var(--secondary-color);
    color: var(--white-color);
    border-radius: 8px;
}

.tabs-content {
    width: 100%;
    margin-top: 2rem;
}

.tab-panel {
    display: none;
    gap: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-panel.active {
    display: flex;
    opacity: 1;
}

.tab-info {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.tab-info .choose-card-heading h3 {
    font-size: 1.1rem;
    color: var(--heading-color);
}

.tab-info p {
    font-size: 0.8rem;
    line-height: 1.6;
}

.tab-info .right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--text-color);
    overflow: hidden;
}

.tab-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}


/* Features */

#features {
    background-color: rgba(250, 157, 176, 0.6);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;    
    justify-content: center;
    gap: 10px;
}

.feature-img {
    width: 30px;
    height: 30px;
}

.feature-img img {
    width: 100%;
    height: auto;   
    object-fit: cover;
}

.feature-title h3 {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-color);
}

/* questions */

#faq .title h2 {
    color: #002868;
}

.faq-container {
    width: 100%;
    max-width: 550px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #03334E;
    border-radius: 8px;
    overflow: hidden;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #FFFFFF;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 0.8rem;
    max-width: 140px;
    font-weight: 600;
    margin: 0;
    color: #313863;
}

.toggle-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
    color: #03334E;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #FFFFFF;
    padding: 0 15px;
    opacity: 0;
    transform: translateY(-10px);
}

.faq-item.active .faq-content {
    max-height: 1000px;
    padding: 0 15px 15px 15px;
    opacity: 1;
    transform: translateY(0);
}

.faq-description p {
    font-size: 0.7rem;
    color: #000000; 
}

#faq .faq-description {
    text-align: justify;
    max-width: 800px;
}

/* footer */

footer {
    background: rgba(241, 247, 255, 1);
    padding: 20px;
}

footer .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



footer .content .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: auto;
}

footer .content .footer-logo img {
    width: 100%;
    height: auto;
}

footer .content .footer-links {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

footer .content .footer-links a {
    font-size: 0.5rem;
    color: #333333;
}

footer .content .copyright p {
    font-size: 0.5rem;
    color: #333333;
}


/* Invalid state */
.form-group.invalid input {
    border: 2px solid #ff4444 !important;
}

.form-group.invalid input:focus {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.1) !important;
}

/* Remove arrows/spinners from number input */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Privacy Policy Section */
#privacy-policy, #terms-and-conditions {
    padding: 20px;
    background-color: var(--white-color);
}

#privacy-policy .content, #terms-and-conditions .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-title h1 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 30px;
}

.legal-description h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legal-content {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.legal-content ol {
    list-style-position: outside;
    padding-left: 20px;
    counter-reset: item;
}

.legal-content ol li {
    margin-bottom: 40px;
    padding-left: 10px;
}

.legal-description h3 {
    color: var(--secondary-color);
    margin: 30px 0 20px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.legal-content p, .legal-content .terms-section p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 30px;
    margin: 20px 0;
}

.legal-content ul li {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-left: 5px;
}

.legal-content ul ul {
    margin: 15px 0;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Table Styles */
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.legal-content th {
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
}

.legal-content td {
    padding: 12px 15px;
    font-size: 0.6rem;
    border-bottom: 1px solid #eee;
}

.legal-content tr {
    vertical-align: top;
}

.legal-content tr:nth-child(even) {
    background-color: #f8f9fa;
}

.legal-content tr:hover {
    background-color: #f1f3f5;
}

.legal-content tr:last-child td {
    border-bottom: none;
}

/* Thank You */

#thankyou {
    padding: 2rem 0;
    width: 100%;
}

.thankyou-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.thankyou-content img {
    width: 120px;
    height: auto;
    margin: 1rem 0;
}

.thankyou-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #023047;
}

.thankyou-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #023047;
}

.thankyou-content p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0.5rem 0;
}

.thankyou-content p a {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.thankyou-contact-container {
    margin: 1rem 0;
}

.thankyou-divider {
    width: 80%;
    height: 1px;
    background-color: #023047;
    margin: 0.5rem auto;
}

/* Ad Section */
#ad {
    padding: 1rem;
}

.ad-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-content p {
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
    margin: 0;
    text-align: center;
}

.ad-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 20rem auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: max-content;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
}

.logo-container {
    margin: 1rem 0;
}

.modal-text {
    margin: 4rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-content h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #023047;
}

.modal-content p {
    font-size: 0.8rem;
    font-weight: 400;
    color: #6c757d;
    margin-top: 20px;
}

.logo-container img {
    width: 100px;
    height: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: 400;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}