.container {
    width: 90%;
    margin: auto ;
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    gap: 0;
}

.contact-section {
    padding: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-right: 1px solid rgba(28, 130, 112, 0.1);
}

.faq-section {
    padding: 50px;
    background: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-size: 2.2em;
    margin-bottom: 35px;
    color: #2a2a2a;
    position: relative;
    padding-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: #1c8270;
    border-radius: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid rgba(28, 130, 112, 0.15);
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1c8270;
    box-shadow: 0 0 0 4px rgba(28, 130, 112, 0.08);
    transform: translateY(-2px);
}

.form-group label {
    position: absolute;
    top: 18px;
    right: 25px;
    font-size: 16px;
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 300;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -12px;
    right: 20px;
    font-size: 13px;
    color: #1c8270;
    background: white;
    padding: 0 8px;
    font-weight: 500;
    border-radius: 15px;
}

.submit-btn {
    padding: 18px 40px;
    background: #ff4b01;
    color: white;
    border: none;
    border-radius: 35px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 10px;
    width: 100%;
}

.submit-btn:hover {
    background: #e6430d;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 75, 1, 0.25);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.faq-item {
    margin-bottom: 25px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.faq-question {
    background: #1c8270;
    color: white;
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.faq-question:hover {
    background: #1a7565;
}

.faq-toggle {
    font-size: 22px;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    flex-shrink: 0;
}

.faq-answer {
    background: white;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #555;
    line-height: 1.6;
}

.faq-answer.active {
    padding: 30px;
    max-height: 250px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        width: 95%;
        margin-top: 3%;
    }
    
    .contact-section,
    .faq-section {
        padding: 40px;
    }
    
    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        width: 95%;
        margin: 3% auto 0;
        border-radius: 30px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }
    
    .contact-section {
        border-right: none;
        border-bottom: 1px solid rgba(28, 130, 112, 0.2);
        padding: 35px 30px;
    }
    
    .faq-section {
        padding: 35px 30px;
    }
    
    .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .contact-form {
        gap: 25px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .form-group label {
        top: 16px;
        right: 20px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 16px 35px;
        font-size: 15px;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 25px;
    }
    
    .faq-answer.active {
        padding: 25px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        width: 98%;
        margin: 2% auto 0;
        border-radius: 20px;
    }
    
    .contact-section,
    .faq-section {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .section-title::after {
        width: 40px;
        height: 3px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 20px;
    }
    
    .form-group label {
        top: 14px;
        right: 18px;
        font-size: 14px;
    }
    
    .form-group input:focus + label,
    .form-group textarea:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:not(:placeholder-shown) + label {
        top: -10px;
        right: 15px;
        font-size: 12px;
        padding: 0 6px;
    }
    
    .submit-btn {
        padding: 14px 30px;
        font-size: 14px;
        border-radius: 25px;
        letter-spacing: 1px;
    }
    
    .faq-item {
        margin-bottom: 20px;
        border-radius: 20px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 14px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .faq-toggle {
        width: 25px;
        height: 25px;
        font-size: 18px;
    }
    
    .faq-answer {
        padding: 0 20px;
        font-size: 14px;
    }
    
    .faq-answer.active {
        padding: 20px;
        max-height: 300px;
    }
}

/* Extra Small Mobile Phones */
@media (max-width: 320px) {
    .container {
        width: 100%;
        margin: 1% auto 0;
        border-radius: 15px;
    }
    
    .contact-section,
    .faq-section {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.3em;
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .form-group label {
        top: 12px;
        right: 15px;
        font-size: 13px;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .faq-question {
        padding: 15px 15px;
        font-size: 13px;
    }
    
    .faq-answer {
        padding: 0 15px;
        font-size: 13px;
    }
    
    .faq-answer.active {
        padding: 15px;
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        margin-top: 2%;
    }
    
    .main-content {
        min-height: 500px;
    }
    
    .contact-section,
    .faq-section {
        padding: 25px;
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .section-title::after {
        height: 3px;
    }
    
    .form-group input,
    .form-group textarea {
        border-width: 1px;
    }
}