/* =========================================
   Luxury Contact Page - Dark & Clean
   ========================================= */

/* Layout Grid */
.contact-luxury-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Info Column (Smaller) - Form Column (Larger) */
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .contact-luxury-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 40px 35px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.info-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.info-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 40px;
    /* Space before recent posts */
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-list .icon-box {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.info-list li:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.info-list .info-text {
    display: flex;
    flex-direction: column;
}

.info-list .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.info-list .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.info-list .value:hover {
    color: var(--secondary-color);
}

/* Recent Posts Widget in Contact Info */
.contact-recent-posts {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: auto;
    /* Push to bottom if flex column */
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.widget-title h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.widget-title .dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.recent-list-luxury {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-list-luxury li {
    margin-bottom: 12px;
}

.recent-list-luxury li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.recent-list-luxury li a i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s;
}

.recent-list-luxury li a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.recent-list-luxury li a:hover i {
    color: var(--secondary-color);
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.form-header {
    margin-bottom: 40px;
    position: relative;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.form-header .line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Form Inputs Styling */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    /* Grid gap compensation */
}

.flex-container .col {
    padding: 0 15px;
    margin-bottom: 25px;
    box-sizing: border-box;
}

.flex-container .col.half {
    width: 50%;
}

.flex-container .col.full {
    width: 100%;
}

@media (max-width: 768px) {
    .flex-container .col.half {
        width: 100%;
    }

    .contact-form-card {
        padding: 30px 20px;
    }
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #444;
    font-size: 0.9rem;
}

.required {
    color: #e74c3c;
    margin-right: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 4px;
    font-size: 1rem;
    background: #f9f9f9;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #333;
    outline: none;
    box-shadow: none;
    /* Reset */
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
.form-submit {
    text-align: left;
    /* Align button to left (RTL: Left is End) */
    margin-top: 10px;
}

.submit-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    filter: brightness(1.1);
}

.submit-btn span {
    position: relative;
    top: -1px;
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Alerts */
.luxury-alert {
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.luxury-alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.luxury-alert.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.luxury-alert i {
    font-size: 1.4rem;
}

/* =============================
   Report Type Toggle (Suggestion/Complaint)
   ============================= */
.type-toggle {
    display: inline-flex;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.type-toggle input[type="radio"] {
    display: none;
}

.type-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-option:hover {
    background: #e9ecef;
}

#type_suggestion:checked+label.type-option,
#type_complaint:checked+label.type-option {
    background: var(--primary-color);
    color: #fff;
}

.type-option i {
    font-size: 1rem;
}

/* =========================================
   Modern Credits Page Styling
   ========================================= */

.credits-page-section {
    padding: 100px 0;
    position: relative;
    background: #f8fafc;
}

.credits-card-modern {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    padding: 80px 50px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-out forwards;
}

.credits-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.credits-dev-icon {
    width: 100px;
    height: 100px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.8s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.credits-card-modern:hover .credits-dev-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--secondary-color);
    color: #fff;
}

.credits-title-small {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 600;
    display: block;
    animation: fadeInUp 0.8s 0.4s both;
}

.credits-agency-name {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 30px;
    font-family: 'Alexandria', sans-serif;
    animation: fadeInUp 0.8s 0.6s both;
}

.credits-agency-name a {
    color: var(--primary-color);
    text-decoration: none;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.credits-description {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 50px;
    animation: fadeInUp 0.8s 0.8s both;
}

.credits-stack {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 1s both;
}

.credits-tech-item {
    background: #f1f5f9;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.credits-tech-item:hover {
    background: #fff;
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

.credits-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 1.2s both;
}

.credits-btn {
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.credits-btn-main {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: #fff;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

.credits-btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
}

.credits-btn-wa {
    background: #25d366;
    color: #fff;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.2);
}

.credits-btn-wa:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .credits-card-modern {
        padding: 50px 25px;
    }

    .credits-agency-name {
        font-size: 2.2rem;
    }

    .credits-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .credits-btn {
        width: 100%;
        justify-content: center;
    }
}