/* Font Faces */
@font-face {
    font-family: 'Optima';
    src: url('fonts/optima.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/open-sans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F6F6F6;
    color: #1A1A1A;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex: 1;
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

/* Left Section */
.left-section {
    background-color: #F6F6F6;
    padding: 48px 60px;
    display: flex;
    flex-direction: column;
}

.logo {
    margin-bottom: 40px;
    max-width: 780px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.logo img {
    height: 26px;
    width: auto;
}

.thank-you-card {
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 28px;
    padding: 80px 60px 90px;
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.checkmark-icon {
    margin-bottom: 40px;
}

.checkmark-icon img {
    width: 64px;
    height: 64px;
}

.thank-you-message {
    font-family: 'Optima', Georgia, serif;
    font-size: 42px;
    font-weight: normal;
    line-height: 1.3;
    color: #1A1A1A;
    margin-bottom: 100px;
    letter-spacing: -0.01em;
}

.redirect-message {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #1A1A1A;
    margin-bottom: 0;
    font-weight: 400;
}

#countdown {
    font-weight: 600;
}

.email-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 400;
    margin-top: 100px;
}

.email-info svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

/* Right Section */
.right-section {
    background-color: #F6F6F6;
    padding: 128px 80px 80px;
    display: flex;
    flex-direction: column;
}

.services-title {
    font-family: 'Optima', Georgia, serif;
    font-size: 30px;
    font-weight: normal;
    line-height: 1.2;
    color: #1A1A1A;
    margin-bottom: 35px;
    letter-spacing: -0.01em;
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
}

.service-card {
    background: #FCFCFC;
    border: 1px solid #FCFCFC;
    border-radius: 14px;
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    min-height: 230px;
}

.service-card:hover {
    border-color: #e6e6e6;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.service-logo {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-logo img {
    max-height: 54px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

.service-info {
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 20px;
    text-align: center;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.service-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
}

.service-arrow img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    padding: 14px;
    background-color: #ffffff;
    border: 1px solid #F4F4F4;
    border-radius: 50%;
    transition: all 0.25s ease;
    box-sizing: content-box;
}

.service-card:hover .service-arrow img {
    border-color: #e6e6e6;
    background-color: #F0F0F0;
}

/* Footer */
footer.disclaimer {
    background-color: #F6F6F6;
    padding: 24px 60px;
    text-align: center;
}

.disclaimer p {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    line-height: 1.6;
    color: #666666;
    max-width: 1400px;
    margin: 0 auto;
    font-weight: 400;
}

/* Responsive Design */

/* Large Desktop */
@media (max-width: 1600px) {
    .left-section {
        padding: 40px 50px;
    }

    .right-section {
        padding: 110px 70px 70px;
    }

    .logo {
        margin-bottom: 36px;
    }

    .thank-you-card {
        padding: 60px 50px 70px;
        max-width: 700px;
    }

    .checkmark-icon {
        margin-bottom: 36px;
    }

    .checkmark-icon img {
        width: 60px;
        height: 60px;
    }

    .thank-you-message {
        font-size: 38px;
        margin-bottom: 70px;
    }

    .email-info {
        margin-top: 70px;
    }

    .services-title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .services-grid {
        gap: 18px;
    }

    .service-card {
        padding: 30px 24px 26px;
        min-height: 220px;
    }

    .service-logo {
        height: 50px;
        margin-bottom: 22px;
    }

    .service-logo img {
        max-height: 50px;
        max-width: 180px;
    }

    .service-info {
        padding-bottom: 18px;
        min-height: 58px;
    }

    .service-arrow img {
        width: 18px;
        height: 18px;
        padding: 14px;
    }
}

/* Desktop */
@media (max-width: 1400px) {
    .left-section {
        padding: 36px 40px;
    }

    .right-section {
        padding: 100px 50px 60px;
    }

    .logo {
        margin-bottom: 32px;
        max-width: 650px;
    }

    .thank-you-card {
        padding: 56px 44px 70px;
        max-width: 650px;
    }

    .checkmark-icon {
        margin-bottom: 36px;
    }

    .checkmark-icon img {
        width: 58px;
        height: 58px;
    }

    .thank-you-message {
        font-size: 36px;
    }

    .email-info {
        margin-top: 70px;
        font-size: 13px;
    }

    .services-title {
        font-size: 26px;
        margin-bottom: 48px;
    }

    .service-card {
        padding: 30px 22px 26px;
        min-height: 210px;
    }

    .service-logo {
        height: 48px;
        margin-bottom: 22px;
    }

    .service-logo img {
        max-height: 48px;
        max-width: 170px;
    }

    .service-info {
        padding-bottom: 16px;
        min-height: 58px;
    }

    .service-name {
        font-size: 15px;
    }

    .service-arrow {
        padding-top: 18px;
    }

    .service-arrow img {
        width: 18px;
        height: 18px;
        padding: 14px;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }

    .left-section {
        padding: 40px 40px 60px;
    }

    .right-section {
        padding: 70px 40px;
    }

    .logo {
        margin-bottom: 50px;
        max-width: 100%;
    }

    .thank-you-card {
        max-width: 100%;
        padding: 60px 50px 80px;
    }

    .checkmark-icon {
        margin-bottom: 40px;
    }

    .checkmark-icon img {
        width: 60px;
        height: 60px;
    }

    .thank-you-message {
        font-size: 36px;
        margin-bottom: 80px;
    }

    .email-info {
        margin-top: 80px;
    }

    .services-title {
        font-size: 25px;
        margin-bottom: 48px;
    }

    .services-grid {
        max-width: 100%;
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 38px 26px 32px;
        min-height: 240px;
    }

    .service-logo {
        height: 50px;
        margin-bottom: 24px;
    }

    .service-logo img {
        max-height: 50px;
        max-width: 170px;
    }

    .service-info {
        padding-bottom: 18px;
        min-height: 64px;
    }

    .service-name {
        font-size: 16px;
    }

    .service-arrow {
        padding-top: 22px;
    }

    .service-arrow img {
        width: 18px;
        height: 18px;
        padding: 13px;
    }

    footer.disclaimer {
        padding: 24px 40px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .left-section {
        padding: 32px 28px 50px;
    }

    .right-section {
        padding: 50px 28px;
    }

    .logo {
        margin-bottom: 40px;
    }

    .logo img {
        height: 26px;
    }

    .thank-you-card {
        padding: 50px 36px 70px;
        border-radius: 24px;
    }

    .checkmark-icon {
        margin-bottom: 36px;
    }

    .checkmark-icon img {
        width: 56px;
        height: 56px;
    }

    .thank-you-message {
        font-size: 32px;
    }

    .redirect-message {
        font-size: 15px;
        margin-bottom: 70px;
    }

    .email-info {
        font-size: 14px;
        margin-top: 70px;
    }

    .services-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .services-grid {
        gap: 18px;
    }

    .service-card {
        padding: 36px 24px 30px;
        min-height: 220px;
        border-radius: 14px;
    }

    .service-content {
        gap: 0;
    }

    .service-logo {
        height: 46px;
        margin-bottom: 22px;
    }

    .service-logo img {
        max-height: 46px;
        max-width: 150px;
    }

    .service-info {
        padding-bottom: 16px;
        min-height: 60px;
    }

    .service-name {
        font-size: 15px;
    }

    .service-arrow {
        padding-top: 18px;
    }

    .service-arrow img {
        width: 16px;
        height: 16px;
        padding: 12px;
    }

    footer.disclaimer {
        padding: 20px 28px;
    }

    .disclaimer p {
        font-size: 11px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .left-section {
        padding: 28px 24px 44px;
    }

    .right-section {
        padding: 44px 24px;
    }

    .logo {
        margin-bottom: 36px;
        text-align: center;
    }

    .logo img {
        height: 24px;
    }

    .thank-you-card {
        padding: 44px 32px 60px;
        border-radius: 20px;
    }

    .checkmark-icon {
        margin-bottom: 32px;
    }

    .checkmark-icon img {
        width: 52px;
        height: 52px;
    }

    .thank-you-message {
        font-size: 28px;
    }

    .redirect-message {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .email-info {
        font-size: 13px;
        gap: 8px;
        margin-top: 60px;
    }

    .email-info svg {
        width: 14px;
        height: 14px;
    }

    .services-title {
        font-size: 20px;
        margin-bottom: 36px;
    }

    .service-card {
        padding: 24px 20px;
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .service-content {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        flex: 1;
    }

    .service-logo {
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-logo img {
        max-height: 50px;
        max-width: 100px;
    }

    .service-info {
        border-bottom: none;
        padding-bottom: 0;
        min-height: auto;
        flex: 1;
        text-align: left;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .service-name {
        font-size: 15px;
        text-align: left;
    }

    .service-arrow {
        padding-top: 0;
        margin-top: 0;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-arrow img {
        width: 14px;
        height: 14px;
        padding: 11px;
    }

    footer.disclaimer {
        padding: 18px 24px;
    }

    .disclaimer p {
        font-size: 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .left-section {
        padding: 24px 20px 40px;
    }

    .right-section {
        padding: 0px 20px;
    }

    .logo {
        margin-bottom: 32px;
    }

    .thank-you-card {
        padding: 40px 28px 56px;
    }

    .checkmark-icon {
        margin-bottom: 28px;
    }

    .checkmark-icon img {
        width: 48px;
        height: 48px;
    }

    .thank-you-message {
        font-size: 22px;
        margin-bottom: 36px;
    }

    .email-info {
        margin-top: 36px;
    }

    .services-title {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .service-card {
        padding: 30px 10px 26px;
        min-height: 110px;
    }

    .service-logo {
        height: 38px;
        margin-bottom: 0px;
    }

    .service-logo img {
        max-height: 50px;
        max-width: 149px;
    }

    .service-info {
        padding-bottom: 0px;
        min-height: 52px;
        justify-content: left;
    }

    .service-name {
        font-size: 13px;
                font-weight: 700;
    }

    .service-arrow {
        padding-top: 0px;
    }

    .service-arrow img {
        width: 13px;
        height: 13px;
        padding: 10px;
    }

    footer.disclaimer {
        padding: 16px 20px;
    }

    .disclaimer p {
        font-size: 9.5px;
    }
}
