/* Hero Section */
.contact-hero {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f1d4 100%);
    color: #2c3e50;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(76, 175, 80, 0.1);
    /* light greenish overlay */
    transform: rotate(45deg);
    border-radius: 20px;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 50%;
}


.contact-hero h1 {
    text-align: center;
    font-size: 55px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* Form Container */
.form-container-wrapper {
    max-width: 1500px;
    margin: -40px auto 0;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 3;
}

/* Sidebar */
.form-sidebar {
    width: 280px;
    background: white;
    border-radius: 16px;
    padding: 40px 25px;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.form-sidebar h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
}

.form-sidebar h3:hover {
    color: #2563eb;
    background-color: #eff6ff;
}

.form-sidebar h3.sidebar-active {
    color: #2563eb;
    background-color: #dbeafe;
    border-left: 4px solid #2563eb;
}

/* Sidebar List Items */
.form-sidebar ul {
    list-style: none;
}

.form-sidebar li {
    padding: 15px 16px;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    font-size: 18px;
    font-weight: 500;
}

/* Add bottom line */
.form-sidebar li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background-color: #d1d5db67;
    /* Light grey underline */
}

/* Animated highlight line */
.form-sidebar li:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.5s ease;
}

/* Hover style */
.form-sidebar li:hover {
    color: #2e7d32;
    background: linear-gradient(135deg, #f1f8f2 0%, #e0f2e9 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
}

.form-sidebar li:hover:before {
    left: 100%;
}

/* Active style */
.form-sidebar li.sidebar-active {
    color: #2e7d32;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    font-weight: 600;
    border-left: 4px solid #388e3c;
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(56, 142, 60, 0.25);
}

.form-sidebar li.sidebar-active:before {
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.2), transparent);
    left: 100%;
}


/* Main Form Content */
.main-form-content {
    flex: 1;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.form-content-area {
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-content-area.active {
    display: block !important;
}

/* Form Elements */
/* .login-section {
    text-align: right;
    margin-bottom: 30px;
}

.login-section a {
    color: #16a34a;
    text-decoration: none;
    border: 2px solid #16a34a;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.login-section a:hover {
    background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
} */


.form-header h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-header p {
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
}

.required-notice {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 35px;
    font-weight: 500;
}

.input-group {
    margin-bottom: 28px;
    animation: slideInFromRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.input-group:nth-child(1) {
    animation-delay: 0.1s;
}

.input-group:nth-child(2) {
    animation-delay: 0.2s;
}

.input-group:nth-child(3) {
    animation-delay: 0.3s;
}

.input-group:nth-child(4) {
    animation-delay: 0.4s;
}

.input-group:nth-child(5) {
    animation-delay: 0.5s;
}

.input-group:nth-child(6) {
    animation-delay: 0.6s;
}

.input-label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
}

.required-field {
    color: #dc2626;
}

.form-field,
.form-dropdown,
.form-text-area {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fafbfc;
    position: relative;
}

.form-field:focus,
.form-dropdown:focus,
.form-text-area:focus {
    outline: none;
    border-color: #2e7d32;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-field:hover,
.form-dropdown:hover,
.form-text-area:hover {
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.input-row {
    display: flex;
    gap: 25px;
}

.input-column {
    flex: 1;
}

/* Radio Buttons */
.radio-section {
    display: flex;
    gap: 25px;
    margin-top: 12px;
    align-items: center;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-option input[type="radio"] {
    margin: 0;
    transform: scale(1.2);
    accent-color: #2e7d32;
}

.radio-option label {
    font-size: 15px;
    color: #374151;
    cursor: pointer;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-option {
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafbfc;
    position: relative;
    overflow: hidden;
}

.product-icon-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.product-option:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(18, 209, 136, 0.411) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-option:hover {
    border-color: #a5d6a7;
    background: white;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
}

.product-option:hover:before {
    width: 300px;
    height: 300px;
}

.product-option.product-selected {
    border-color: #8ce28faf;
    background: #eff6ff;
    animation: bounceIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(37, 222, 235, 0.25);
}

.product-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.product-option:hover .product-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
}
/* Text Area */
.form-text-area {
    min-height: 130px;
    resize: vertical;
    font-family: inherit;
}

.character-counter {
    text-align: right;
    color: #6b7280;
    font-size: 13px;
    margin-top: 8px;
}

/* Terms & Checkbox */
.terms-disclaimer {
    background: #f9fafb;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    border-left: 4px solid #e5e7eb;
}

.checkbox-section {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
}

.checkbox-section input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
    accent-color: #2e7d32;
}

.checkbox-label {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.checkbox-label a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin: 40px 0 0 auto;
    box-shadow: 0 4px 15px rgba(82, 183, 136, 0.3);
    position: relative;
    overflow: hidden;
    width: fit-content;
}


/* If you want it aligned with form content */
.main-form-content .submit-button {
    margin-right: 40px;
    /* Matches the form-content-area padding */
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .submit-button {
        margin: 40px auto 0;
        /* Center on mobile */
        width: 100%;
    }
}

.submit-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover {
    background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(82, 183, 136, 0.4);
    animation: pulse 2s infinite;
}

.submit-button:hover:before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(-1px) scale(1.02);
}


/* Notification */
/* .info-notification {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border-left: 4px solid #3b82f6;
    padding: 20px 25px;
    margin: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.notification-content {
    display: flex;
    align-items: center;
}

.info-notification-icon {
    background: #3b82f6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 15px;
    font-weight: bold;
}

.notification-close {
    cursor: pointer;
    color: #64748b;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

.notification-close:hover {
    color: #3b82f6;
} */

/* Phone Input */
.phone-input-group {
    display: flex;
    gap: 12px;
}

.country-code {
    width: 160px;
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-container-wrapper {
        max-width: 100%;
        padding: 0 15px;
        gap: 25px;
    }

    .form-sidebar {
        width: 220px;
        padding: 25px 20px;
    }

    .form-content-area {
        padding: 25px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .form-container-wrapper {
        flex-direction: column;
        gap: 25px;
        padding: 0 10px;
    }

    .form-sidebar {
        width: 100%;
    }

    .form-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .form-sidebar li {
        flex: 1;
        min-width: 160px;
        padding: 12px;
        text-align: center;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }

    .form-content-area {
        padding: 20px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .input-row {
        flex-direction: column;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-option {
        padding: 20px;
    }

    .info-notification {
        margin: 20px;
        padding: 15px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .notification-close {
        align-self: flex-end;
        margin-top: -8px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 0 50px;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .form-content-area {
        padding: 15px;
    }

    .form-header h2 {
        font-size: 22px;
    }

    .form-field,
    .form-dropdown,
    .form-text-area {
        padding: 12px 15px;
    }

    .submit-button {
        width: 100%;
        padding: 15px;
    }

    .terms-disclaimer {
        padding: 20px;
        font-size: 12px;
    }

    .checkbox-label {
        font-size: 13px;
    }

    .login-section {
        text-align: center;
    }

    .form-sidebar h3 {
        font-size: 18px;
        text-align: center;
    }

    .form-sidebar li {
        font-size: 14px;
        min-width: 130px;
    }
}

@media (max-width: 360px) {
    .product-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .form-header p {
        font-size: 15px;
    }

    .required-notice {
        font-size: 14px;
    }

    .input-label {
        font-size: 14px;
    }
}