/* ============================================
   CONTACT US PAGE - MODERN DESIGN
   ============================================ */

/* Main Container */
.contact-page-wrapper {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Form Head Container */
.form-head {
    background: transparent;
    margin: 0;
    padding: 0;
}

/* Contact Row for Side by Side Layout */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-row > [class*="col-"] {
    padding: 0 15px;
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.alert-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: #fff;
}

/* Contact Details Section */
.content-front {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.content-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.cf-inner {
    position: relative;
    z-index: 1;
}

.contact-details-title {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-details-title h2 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
}

.contact-details-title h2::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 2px;
}

/* Contact Details List */
.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details ul li {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
}

.contact-details ul li:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.contact-details ul li b {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.contact-details ul li span {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    display: block;
}

.contact-details ul li a {
    color: #10b981;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-details ul li a:hover {
    color: #047857;
    text-decoration: underline;
}

.contact-details ul li i {
    color: #10b981;
    margin-right: 8px;
    font-size: 16px;
}

/* Form Section */
.brochure-form {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.brochure-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.brochure-form .well {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.jou_get_in_touch {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.jou_get_in_touch::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 2px;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-group label .red {
    color: #e74c3c;
    margin-left: 3px;
}

/* Form Controls */
.form-cus.form-control {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 14px;
    color: #2c3e50;
    transition: all 0.3s ease;
    background: #fff;
}

.form-cus.form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
    background: #fff;
}

.form-cus.form-control::placeholder {
    color: #aaa;
}

textarea.form-cus.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Error Messages */
.text-danger_form_error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

/* Captcha Section */
.captcha-wrapper {
    margin-top: 10px;
}

.captcha-box {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.captcha-label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.captcha-code {
    background: #fff;
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.15);
    border: 2px solid #e0e0e0;
}

.refresh-btn {
    background: #fff;
    color: #10b981;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #f8f9fa;
}

.refresh-btn:hover i {
    display: inline-block;
    animation: rotate360 0.5s ease-in-out;
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Submit Button */
.btn.btn-info.header-btn {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.btn.btn-info.header-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn.btn-info.header-btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn.btn-info.header-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn.btn-info.header-btn:active {
    transform: translateY(-1px);
}

/* Icons Enhancement */
.contact-details i.fa-envelope,
.contact-details i.fa-whatsapp {
    font-size: 18px;
    color: #10b981;
}

.contact-details i.fa-whatsapp {
    color: #25D366;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-row {
        flex-direction: column;
    }
    
    .content-front {
        margin-bottom: 30px;
    }
    
    .contact-details-title h2,
    .jou_get_in_touch {
        font-size: 24px;
    }
    
    .brochure-form {
        padding: 30px 20px;
    }
}

@media (max-width: 767px) {
    .contact-page-wrapper {
        padding: 20px 0;
    }
    
    .content-front,
    .brochure-form {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .contact-details-title h2,
    .jou_get_in_touch {
        font-size: 20px;
    }
    
    .contact-details ul li {
        padding: 12px;
        font-size: 13px;
    }
    
    .form-group.col-xs-6 {
        width: 100%;
        padding: 0 15px;
    }
    
    .captcha-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .btn.btn-info.header-btn {
        width: 100%;
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .contact-details ul li b {
        font-size: 14px;
    }
    
    .contact-details ul li span {
        font-size: 13px;
    }
    
    .form-cus.form-control {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Additional Enhancements */
.padding-0 {
    padding: 0 !important;
}

/* Focus States for Accessibility */
.form-cus.form-control:focus,
.btn.btn-info.header-btn:focus,
.refresh-btn:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Smooth Animations */
* {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    .contact-page-wrapper {
        background: #fff;
    }
    
    .content-front,
    .brochure-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Loading State */
.form-control[disabled] {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Success Indicator */
.form-control.is-valid {
    border-color: #28a745;
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

/* Hover Effects on Mobile */
@media (hover: none) {
    .contact-details ul li:hover {
        transform: none;
    }
    
    .btn.btn-info.header-btn:hover {
        transform: none;
    }
}
