/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f3f0;
    color: #2b2b2b;
    line-height: 1.5;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- NAVBAR WITH CUSTOM logo --- */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e2e0;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Added top and left padding/margin space for the logo */
.nav-logo-wrapper {
    margin-top: 8px;
    margin-left: 12px;
}

.custom-logo {
    height: 60px; /* Adjust height based on your logo design */
    width: auto;
    display: block;
}

/* Apply to custom-logo */
.custom-logo {
    transition: transform 0.2s ease;
}

.custom-logo:hover {
    transform: translateY(-4px) scale(1.01);
}

.nav-sr-wrapper {
    margin-top: -70px;
    margin-left: 40px;
}

.custom-sr {
    height: 80px; /* Adjust height based on your logo design */
    width: auto;
    display: block;
}

/* Apply to custom-sr */
.custom-sr {
    transition: transform 0.2s ease;
}

.custom-sr:hover {
    transform: translateY(-4px) scale(1.01);
}


.nav-actions {
    display: flex;
    gap: 12px;
}


.btn-secondary {
    color: #2b2b2b;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-secondary {
    
    /* Smooth transition for hover/click */
    transition: all 0.1s ease-in-out;
}

.btn-secondary:hover {
    transform: translateY(-2px);
   }

/* Click (Active): Press down fully */
.btn-secondary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #0d1821; /* Removes shadow to simulate physical push */
}

.btn-primary {
    background-color: #1a2e40;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-primary {
      
    /* Smooth transition for hover/click */
    transition: all 0.1s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-2px);
   }

/* Click (Active): Press down fully */
.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #0d1821; /* Removes shadow to simulate physical push */
}

/* --- MAIN CONTENT & BANNER IMAGE --- */
.main-content {
    padding: 30px 0 60px;
}

/* Banner image before form starts */
.form-banner-image {
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
}

.form-banner-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}
/* Apply to custom-banner image */
.form-banner-image {
    transition: transform 0.2s ease;
}

.form-banner-image:hover {
    transform: translateY(-4px) scale(1.01);
}


/* Main Form Container */
.form-card {
    background: #eef0ea;
    border: 1px solid #dcded8;
    border-left: 6px solid #1a2e40;
    border-radius: 0 0 4px 4px;
    padding: 40px;
}

/* Form Title Header */
.form-header {
    border-bottom: 1px dashed #cccccc;
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.sub-heading {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #888888;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1a2332;
    margin-bottom: 12px;
}

.description {
    font-size: 14px;
    color: #555555;
    max-width: 680px;
}

/* --- SECTIONS & HEADINGS --- */
.form-section {
    border-bottom: 1px dashed #cccccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.section-number {
    background-color: #e2e4dc;
    color: #666666;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #d0d2c8;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1a2332;
}

.section-header p {
    font-size: 13px;
    color: #666666;
}

/* --- INPUTS & LAYOUT GRID --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 6px;
}

.required {
    color: #d9381e;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    background-color: #e5e7e0;
    border: 1px solid #bdc0b8;
    border-radius: 4px;
    font-size: 13px;
    color: #2b2b2b;
}

input::placeholder,
textarea::placeholder {
    color: #888888;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1a2e40;
    background-color: #ffffff;
}

.field-note {
    font-size: 11px;
    color: #777777;
    margin-top: 4px;
    display: block;
}

/* --- PILL BUTTON OPTIONS --- */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-option {
    cursor: pointer;
}

.pill-option input {
    display: none;
}

.pill-option span {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e5e7e0;
    border: 1px solid #bdc0b8;
    border-radius: 4px;
    font-size: 13px;
    color: #2b2b2b;
    transition: all 0.2s ease;
}

.pill-option input:checked + span {
    background-color: #ffffff;
    border-color: #1a2e40;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* --- DECLARATION CHECKBOXES --- */
.checkbox-box {
    background-color: #e2e4dc;
    border: 1px solid #cdcfc5;
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: #333333;
    cursor: pointer;
}

.checkbox-container input {
    margin-top: 3px;
}

.checkbox-container a {
    color: #1a2e40;
}

/* --- SUBMIT AREA --- */
.submit-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.submit-note {
    font-size: 12px;
    color: #666666;
    max-width: 400px;
}

.submit-btn {
    background-color: #1a2e40;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #0f1c28;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #0d1821;
    padding: 24px 0;
}

.footer-content {
    display: flex;
    justify-content: flex-end;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #ffffff;
    font-size: 12px;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 650px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .submit-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-logo-wrapper {
        margin-left: 0;
    }
}