/* Custom styles for Soland Landing Page */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom classes for typography and layout */
.font-heading {
    font-family: 'Gemunu Libre', sans-serif;
}

/* Transitions for mobile menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Prose-like styles for content */
.prose p {
    line-height: 1.75;
}

/* Hover effects for cards */
.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

.via-gray-900\/70 {
    --tw-gradient-stops: rgb(38 46 63 / 90%), rgb(13 19 30 / 70%) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

/* Privacy Checkbox Style */
.privacy-container {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.privacy-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ea580c;
    /* Soland Orange */
    border-radius: 3px;
    background-color: transparent;
    cursor: pointer;
    display: grid;
    place-content: center;
    flex-shrink: 0;
    margin-top: 0;
}

.privacy-container input[type="checkbox"]:checked {
    background-color: #ea580c;
    /* Soland Orange */
}

.privacy-container input[type="checkbox"]::before {
    content: "";
    width: 14px;
    height: 14px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: white;
    /* Checkmark white on orange bg */
}

.privacy-container input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.privacy-text {
    font-size: 0.85rem;
    color: #4b5563;
    /* Tailwind gray-600 */
    line-height: 1.4;
}

.privacy-text a {
    color: #ea580c;
    /* Soland Orange */
    text-decoration: underline;
}

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: sticky;
    top: 0;
    float: right;
    font-size: 30px;
    cursor: pointer;
    color: #ea580c;
    /* Soland Orange */
    line-height: 20px;
}

.modal-body h3 {
    color: #ea580c;
    /* Soland Orange */
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-body h4 {
    color: #1f2937;
    /* Tailwind gray-800 */
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    /* Tailwind gray-600 */
}

.modal-content ul {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    /* Tailwind gray-600 */
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

body.modal-open {
    overflow: hidden;
}

/* Feedback Messages */
#form-response-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.success-msg {
    background: #10b981;
    color: white;
}

.error-msg {
    background: #ef4444;
    color: white;
}


.post-cta {
    max-width: 310px !important;
    font-weight: 800;
}

.h-2.w-2.bg-primary.rounded-full.mr-3 {
    width: 10px;
    height: 10px;
    display: block;
    min-width: 10px;
    align-self: flex-start;
    margin-top: 6px;
}



.pre-form .text-base {
    line-height: 1.2rem;
    font-weight: 600;
}

.privacy-container {
    align-items: flex-start;
}

.privacy-container input[type="checkbox"] {
    width: 22px;
    height: 22px;
}

.h-1\.5 {
    height: 0.250rem !important;
}

@media (min-width: 768px) {
    .md\:text-2xl {
        font-size: 1.3rem !important;
        line-height: 1.8rem;
    }
}





@media (max-width: 768px) {
    .absolute.inset-0.md\:bg-gradient-to-r.md\:from-gray-900\/90.md\:via-gray-900\/70.md\:to-transparent {
        background: linear-gradient(191deg, rgba(0, 0, 0, 0) 24.18%, #111827e6 57.47%) !important;
        opacity: 0.80 !important;
    }

    .min-h-screen {
    min-height: 118vh !important;
    }

    .hero .object-cover {
        object-position: bottom !important;
        object-position: -200px !important;
    }

    .grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
    
    footer .flex {
    display: flex;
    width: 100%;
}
}