/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full viewport container */
.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    font-family: "Poppins", sans-serif;
}

/* Centered content box with rounded corners */
.content-box {
    background-image: url('doctrine-landing-v2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    margin: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    position: relative;
}

/* Version text in top right corner */
.version-text {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Left column */
.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Form section alignment override */
.left-column .form-heading,
.left-column .contact-form {
    align-self: center;
    text-align: left;
}

/* Logo container */
.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 180px;
    height: auto;
}

/* Description paragraph */
.description {
    max-width: 400px;
    margin-bottom: 50px;
}

.description p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: justify;
}

/* Form heading */
.form-heading {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

/* Right column */
.right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 0;
}

/* Contact form */
.contact-form {
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: white;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input,
.form-group textarea {
    font-family: "Poppins", sans-serif;
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 0;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: transparent;
    color: white;
    text-align: left;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: rgba(255, 255, 255, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

.submit-button {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    padding: 12px 0;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    align-self: flex-end;
    margin-top: 30px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.submit-button:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
    .content-box {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 0;
        padding: 32px 24px;
        margin: 16px;
        background-image: url('doctrine-landing-mobile.png');
        background-position: center right;
        background-size: cover;
        position: relative;
    }
    
    /* Add overlay for better text readability on mobile */
    .content-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
        border-radius: 16px;
        pointer-events: none;
        z-index: 1;
    }
    
    /* Ensure content appears above overlay */
    .left-column,
    .right-column,
    .version-text {
        position: relative;
        z-index: 2;
    }
    
    .left-column {
        width: 100%;
        padding-top: 20px;
        align-items: flex-start;
        text-align: left;
    }
    
    .right-column {
        display: none;
    }
    
    .logo-container {
        margin-bottom: 20px;
        align-self: flex-start;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .description {
        max-width: none;
        width: 100%;
        margin-bottom: 50px;
        text-align: left;
    }
    
    .description p {
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
    }
    
    .form-heading {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .contact-form {
        width: 100%;
        max-width: none;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .form-group textarea {
        min-height: 50px;
    }
    
    .submit-button {
        font-size: 14px;
        margin-top: 20px;
        align-self: flex-start;
    }
    
    .version-text {
        position: absolute;
        top: 15px;
        right: 15px;
        left: auto;
        font-size: 10px;
        z-index: 10;
    }
}
