/* Get In Touch Modern Section - Compact & Stylish */
.contact-section {
    position: relative;
    padding: 60px 0;
    background: #f8f9fa;
    overflow: hidden;
}

/* Compact Contact Wrapper */
.contact-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(18, 46, 91, 0.08);
}

/* Contact Info Box - Theme Colors */
.contact-info-box,
.contact-form-box {
    background: linear-gradient(135deg, #122E5B 0%, #0A1E3F 100%);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    color: #ffffff;
}

.contact-form-box {
    background: linear-gradient(135deg, #B87333 0%, #a66429 100%);
}

.contact-info-header,
.contact-form-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.contact-info-header i,
.contact-form-header i {
    font-size: 1.25rem;
    opacity: 0.9;
}

.contact-info-header h5,
.contact-form-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact List Items */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    margin-top: 2px;
    opacity: 0.9;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.contact-text a,
.contact-text span {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-all;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Form Styling */
.form-row {
    margin-bottom: 0.75rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.form-input::placeholder {
    color: #999;
}

/* Captcha Row */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-row img {
    height: 42px;
    border-radius: 6px;
    flex-shrink: 0;
}

.captcha-input {
    flex: 1;
    margin-bottom: 0 !important;
}

.captcha-refresh-btn {
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.95);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    color: #B87333;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.captcha-refresh-btn:hover {
    background: #ffffff;
    transform: rotate(180deg);
}

/* Submit Button - Theme Colors */
.contact-form-box .submit-btn {
    width: 100%;
    padding: 0.875rem 2rem;
    background: rgba(255,255,255,0.95);
    color: #B87333;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.contact-form-box .submit-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 115, 51, 0.3);
}

/* Responsive Design for Compact Layout */
@media (max-width: 767px) {
    .contact-wrapper {
        padding: 1.25rem;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        padding: 0.625rem;
    }
    
    .captcha-row {
        flex-wrap: wrap;
    }
    
    .captcha-row img {
        width: 100%;
        max-width: 200px;
    }
}

/* Legacy Support - Keep old styles below */
/* ============================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Left Side - Contact Info */
.contact-info {
    padding: 35px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #B87333;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 800;
    color: #122E5B;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-info > p:first-of-type {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.contact-info p {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #555;
    margin: 12px 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info p:last-child {
    border-bottom: none;
}

.contact-info p i {
    color: #B87333;
    font-size: 18px;
    width: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-info a {
    color: #122E5B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    word-break: break-word;
}

.contact-info a:hover {
    color: #B87333;
}

/* Right Side - Contact Form */
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #B87333, #122E5B);
}

.contact-form h4 {
    font-size: 22px;
    font-weight: 700;
    color: #122E5B;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Form Groups */
.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #122E5B;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8f9fa;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #B87333;
    background: white;
    box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.1);
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* Captcha Group */
.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    flex-wrap: wrap;
}

.captcha-image {
    flex-shrink: 0;
}

.captcha-image img {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    height: 50px;
    display: block;
}

.captcha-input {
    flex: 1;
    min-width: 150px;
    padding: 14px 16px !important;
}

.captcha-refresh {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
     border-color: #B87333;
    background: #B87333;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

/* .captcha-refresh:hover {
    border-color: #B87333;
    background: #B87333;
    color: white;
} */

.captcha-refresh i {
    font-size: 16px;
}

/* Submit Button */
.contact-form .submit-btn {
    width: 100%;
    padding: 16px 40px;
    background: linear-gradient(135deg, #B87333, #a66429);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(184, 115, 51, 0.4);
    margin-top: 10px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.5);
}

.contact-form .submit-btn:active {
    transform: translateY(0);
}

.contact-form .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form .submit-btn i {
    margin-right: 8px;
}

/* Alert Messages */
.contact-form .alert {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-form .alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.contact-form .alert.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.contact-form .alert.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Decorative Background Elements */
.contact-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(184, 115, 51, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(18, 46, 91, 0.05);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    z-index: 0;
}
/* Responsive Design */

/* Tablet and Below (iPad size) */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 20px;
    }
    
    .contact-grid {
        gap: 25px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .contact-info h3 {
        font-size: 26px;
    }
    
    .contact-info > p:first-of-type {
        font-size: 14px;
    }

    .contact-form h4 {
        font-size: 20px;
    }
    
    .contact-form .form-group {
        margin-bottom: 16px;
    }

    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-image {
        display: flex;
        justify-content: center;
    }

    .captcha-input {
        width: 100%;
        min-width: auto;
    }
    
    .captcha-refresh {
        width: 100%;
        height: 45px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 30px;
    }

    .contact-info h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .contact-info > p:first-of-type {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .contact-info p {
        font-size: 14px;
        margin: 10px 0;
        padding: 8px 0;
    }
    
    .contact-info p i {
        font-size: 16px;
        width: 20px;
        margin-right: 10px;
    }

    .contact-form h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .contact-form label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .contact-form textarea {
        min-height: 90px;
    }

    .contact-form .submit-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .captcha-refresh {
        height: 50px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .contact-section {
        padding: 30px 10px;
    }
    
    .contact-info,
    .contact-form {
        padding: 18px;
    }
    
    .contact-info h3 {
        font-size: 22px;
    }
    
    .contact-form h4 {
        font-size: 17px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        padding: 11px 12px;
        font-size: 13px;
    }
    
    .contact-form .submit-btn {
        padding: 13px 25px;
        font-size: 14px;
    }
}

/* Ensure forms are always visible */
@media (max-width: 1024px) {
    .contact-info,
    .contact-form {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Left Side - Contact Info */
.contact-info {
    padding: 35px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #B87333;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 800;
    color: #122E5B;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-info > p:first-of-type {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.contact-info p {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #555;
    margin: 12px 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info p:last-child {
    border-bottom: none;
}

.contact-info p i {
    color: #B87333;
    font-size: 18px;
    width: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-info a {
    color: #122E5B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    word-break: break-word;
}

.contact-info a:hover {
    color: #B87333;
}

/* Right Side - Contact Form */
.contact-form {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #B87333, #122E5B);
}

.contact-form h4 {
    font-size: 22px;
    font-weight: 700;
    color: #122E5B;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Form Groups */
.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #122E5B;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8f9fa;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #B87333;
    background: white;
    box-shadow: 0 0 0 4px rgba(184, 115, 51, 0.1);
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* Captcha Group */
.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    flex-wrap: wrap;
}

.captcha-image {
    flex-shrink: 0;
}

.captcha-image img {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    height: 50px;
    display: block;
}

.captcha-input {
    flex: 1;
    min-width: 150px;
    padding: 14px 16px !important;
}

.captcha-refresh {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
     border-color: #B87333;
    background: #B87333;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

/* .captcha-refresh:hover {
    border-color: #B87333;
    background: #B87333;
    color: white;
} */

.captcha-refresh i {
    font-size: 16px;
}

/* Submit Button */
.contact-form .submit-btn {
    width: 100%;
    padding: 16px 40px;
    background: linear-gradient(135deg, #B87333, #a66429);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(184, 115, 51, 0.4);
    margin-top: 10px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.5);
}

.contact-form .submit-btn:active {
    transform: translateY(0);
}

.contact-form .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form .submit-btn i {
    margin-right: 8px;
}

/* Alert Messages */
.contact-form .alert {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-form .alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.contact-form .alert.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.contact-form .alert.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Decorative Background Elements */
.contact-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(184, 115, 51, 0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(18, 46, 91, 0.05);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
    z-index: 0;
}
/* Responsive Design */

/* Tablet and Below (iPad size) */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    .contact-section {
        padding: 50px 20px;
    }
    
    .contact-grid {
        gap: 25px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .contact-info h3 {
        font-size: 26px;
    }
    
    .contact-info > p:first-of-type {
        font-size: 14px;
    }

    .contact-form h4 {
        font-size: 20px;
    }
    
    .contact-form .form-group {
        margin-bottom: 16px;
    }

    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-image {
        display: flex;
        justify-content: center;
    }

    .captcha-input {
        width: 100%;
        min-width: auto;
    }
    
    .captcha-refresh {
        width: 100%;
        height: 45px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 30px;
    }

    .contact-info h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .contact-info > p:first-of-type {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .contact-info p {
        font-size: 14px;
        margin: 10px 0;
        padding: 8px 0;
    }
    
    .contact-info p i {
        font-size: 16px;
        width: 20px;
        margin-right: 10px;
    }

    .contact-form h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .contact-form label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .contact-form textarea {
        min-height: 90px;
    }

    .contact-form .submit-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .captcha-refresh {
        height: 50px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .contact-section {
        padding: 30px 10px;
    }
    
    .contact-info,
    .contact-form {
        padding: 18px;
    }
    
    .contact-info h3 {
        font-size: 22px;
    }
    
    .contact-form h4 {
        font-size: 17px;
    }
    
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea {
        padding: 11px 12px;
        font-size: 13px;
    }
    
    .contact-form .submit-btn {
        padding: 13px 25px;
        font-size: 14px;
    }
}

/* Ensure forms are always visible */
@media (max-width: 1024px) {
    .contact-info,
    .contact-form {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}