/* Contact Page Specific Styles */
.contact-header {
    padding: 140px 0 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0b1120; /* Very dark background */
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px; /* Grid size */
}

/* Override default tagline to match the screenshot pill */
.contact-header .tagline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.02); /* Slight fill to match screenshot */
    border: 1px solid rgba(245, 158, 11, 0.3); /* Softer orange border */
    color: #f59e0b;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin: 0 auto 30px auto;
}

.contact-header .tagline .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #f59e0b;
    border-radius: 50%;
    margin-right: 8px;
    position: relative; /* Remove animation if it exists */
    animation: none;
}

.contact-header .hero-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 800px;
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.contact-header .contact-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 600px;
    color: #94a3b8; /* Light slate color */
    font-size: 16px;
    line-height: 1.6;
}

/* Contact Form Section (New Layout) */
.contact-form-section {
    padding: 60px 0 100px;
    background-color: #f8fafc; /* Very light bg to make white card pop */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

/* Left Info Card */
.contact-info-card {
    background-color: #0b1120;
    color: #ffffff;
    padding: 50px 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(11, 17, 32, 0.1);
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b; /* Gold/yellow */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #ffffff;
}

.info-content h4 {
    font-size: 11px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

.social-follow {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-follow h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #f59e0b;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #f59e0b;
}

/* Right Form Card */
.contact-form-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

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

.form-header-new h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0b1120;
    margin: 0 0 10px 0;
}

.highlight-italic {
    font-style: italic;
    color: #f59e0b;
}

.form-header-new p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: #f8fafc;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #0f172a;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #cbd5e1;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\25BC';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #94a3b8;
    pointer-events: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.btn-submit-new {
    width: 100%;
    background-color: #f59e0b; /* Yellow/Gold */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit-new:hover {
    background-color: #d97706; /* Darker yellow/gold on hover */
}

@media (max-width: 992px) {
    .contact-wrapper {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 0 0 40px 0; /* Removed top padding to fix the large white gap */
    }

    .form-row {
        flex-direction: column;
        gap: 15px; /* Even smaller gap between stacked form rows */
    }
    
    .contact-form-card {
        padding: 25px 15px;
        margin: 0 -20px;
        border-radius: 0;
    }

    .form-header-new {
        margin-bottom: 15px; /* Reduced gap below form header */
    }

    .form-header-new h2 {
        font-size: 18px; /* Even further reduced heading for mobile */
        margin-bottom: 4px;
    }

    .form-header-new p {
        font-size: 12px; /* Even smaller subtitle for mobile */
    }

    .contact-form-new {
        gap: 15px; /* Even smaller gap between form fields */
    }
    
    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 13px;
    }

    .btn-submit-new {
        padding: 14px;
        font-size: 14px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
        margin: 0 -20px;
        border-radius: 0;
        gap: 20px; /* Reduced gap between items */
    }

    .info-card-title {
        font-size: 22px;
        margin-bottom: 0; /* Removed extra margin since flex gap handles spacing */
    }

    .info-item {
        gap: 15px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .info-content h4 {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .info-content p {
        font-size: 14px;
    }
}

/* Placement Guarantee Section */
.placement-guarantee {
    background-color: #f8fafc; /* Match contact bg to flow seamlessly */
    padding: 0 0 60px 0;
    text-align: center;
}

.guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    margin-bottom: 25px;
    position: relative;
}

/* Add the very soft glow ring */
.guarantee-icon::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background-color: rgba(245, 158, 11, 0.05);
    border-radius: 50%;
}

.placement-guarantee h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.placement-guarantee p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}


/* FAQ Section */
.faq-section {
    background-color: #0b1120; /* Very dark background to match the top left card */
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 40px;
}

.faq-tag {
    display: inline-block;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.faq-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Small gap to match screenshot */
}

.faq-item {
    background-color: rgba(255,255,255, 0.03); /* Lighter than background */
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(255,255,255, 0.06);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-icon {
    color: #f59e0b;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 30px 24px 30px;
    color: #94a3b8;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive adjustments for Mobile */
@media (max-width: 768px) {
    .contact-header {
        padding: 40px 0 20px 0; /* Further reduced top/bottom padding */
    }
    .contact-header .tagline {
        margin-bottom: 15px; /* Reduced gap below tagline */
    }
    .contact-header .hero-title {
        font-size: 24px; /* Further reduced font size */
        line-height: 1.25;
        padding: 0 10px;
        margin-bottom: 12px; /* Reduced gap below title */
    }
    .contact-header .contact-desc {
        font-size: 13px; /* Slightly smaller description */
        padding: 0 15px;
        line-height: 1.5;
        text-align: justify; /* Justify text as requested */
    }
    .contact-header .contact-desc br {
        display: none; /* Let text wrap naturally on mobile */
    }
    
    /* FAQ Responsive Sizes */
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 16px 20px;
    }
    
    .faq-answer p {
        font-size: 13px;
        padding: 0 20px 16px 20px;
    }
}
