*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Quicksand", "Poppins", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f2f2ff 0%, #e9fefd 100%);
    color: #121212;
    overflow-x: hidden;
}


/* === Utility (screen‑reader only) === */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* === Layout wrapper === */

.optin-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
    width: 100%;
    max-width: 1000px;
    align-items: center;
}


/* Illustration / image */

.opt-in-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin: 0;
}

.opt-in-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}


/* === Form card === */

.opt-in-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.25rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 3rem 2.5rem;
    width: 100%;
    animation: flyIn 0.8s ease forwards;
}

@keyframes flyIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.opt-in-card h1 {
    font-size: clamp(28px, 1.5rem + 1vw, 2rem);
    margin: 0 0 12px;
    font-weight: 700;
    line-height: 1.2;
}

.opt-in-card p.lead {
    margin: 0 0 28px;
    color: #2F3237;
    font-size: 13px;
}

.optin-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    padding: 0.9rem 13px;
    border: 1.5px solid #CCC7EE;
    border-radius: 4px;
    font-size: 13px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
}


/* === Custom checkbox === */

.custom-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #2F3237;
    user-select: none;
}

.custom-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin: 0px;
    border: 1.6px solid #CCC7EE;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.custom-check input:checked {
    background: #2F3237;
    border-color: #2F3237;
}

.custom-check input:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='%23fff' d='M4.2 7.6L1.4 4.8l-1.4 1.4L4.2 10 12 2.2 10.6.8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.6rem;
}

/*.custom-check a {
    color: #FF7E32;
    text-decoration: none;
}*/

button[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: #FF7E32;
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 15px 13px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Quicksand", sans-serif;
}

.fineprint {
    font-size: 12px;
    color: #2F3237;
    margin-top: 1.25rem;
    line-height: 1.5;
}

.fineprint a {
    color: #FF7E32;
    text-decoration: none;
}

.terms_conditions {
    font-size: 13px;
    color: #2F3237;
    /*margin-top: 1.0rem;*/
    line-height: 1.5;
	text-align:justify;
}

.terms_conditions a {
    color: #FF7E32;
    text-decoration: none;
}

.row {
	  display: flex;
	}

	.column {
	  
	  padding: 5px;
	}

	.left {
	  float: left;
	  width: 30%;
	}

	.right {
	  text-align: right;
	  width: 70%;
	}
	.img-fluid {
	  max-width: 100%;
	  height: auto;
	}

.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}
.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}
.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}

.alert a {
    color: #FF7E32;
    text-decoration: none;
}

/* === Responsive === */

@media (max-width: 900px) {
    .optin-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 8vw;
        text-align: center;
    }
    .opt-in-img {
        order: 2;
        aspect-ratio: 16 / 9;
    }
    .opt-in-card {
        order: 1;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .opt-in-card {
        padding: 2rem 1.5rem;
    }
	input[type="text"],
    input[type="email"],
    input[type="tel"] {
        font-size: 15px;
    }
    button[type="submit"],
    .custom-check {
        font-size: 0.9rem;
    }
}