/* contact.css - GeoNova Concepts Contact Page Styles */

/* =========================================
   CONTACT HERO
   ========================================= */
.contact-hero {
    position: relative;
    padding: 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.92) 0%,
        rgba(17, 24, 39, 0.7) 40%,
        rgba(39, 169, 52, 0.2) 100%
    );
}

.contact-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-content-wrapper {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(39, 169, 52, 0.2);
    color: var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(39, 169, 52, 0.2);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.8rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--secondary);
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 650px;
}

.contact-hero .breadcrumb {
    background: transparent;
    padding: 0;
}

.contact-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-hero .breadcrumb-item a:hover {
    color: var(--secondary);
}

.contact-hero .breadcrumb-item.active {
    color: var(--secondary);
}

.contact-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    padding: 80px 0;
    background: var(--light);
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    padding-right: 2rem;
}

.contact-info-wrapper .section-badge {
    display: inline-block;
    background: rgba(39, 169, 52, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.contact-info-wrapper .section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-info-wrapper .section-title span {
    color: var(--secondary);
}

.contact-info-wrapper .section-divider {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 0.75rem 0 1.5rem;
    border-radius: 2px;
}

.contact-info-text {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Contact Items */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(39, 169, 52, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(39, 169, 52, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--secondary);
    color: white;
    transform: scale(1.05);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.contact-value:hover {
    color: var(--secondary);
}

/* Social Links */
.contact-social {
    margin-top: 2rem;
}

.social-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.social-link:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(39, 169, 52, 0.2);
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.form-title span {
    color: var(--secondary);
}

.form-subtitle {
    color: var(--text);
    font-size: 0.95rem;
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 0.4rem;
    display: block;
}

.form-label .required {
    color: #ef4444;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--light);
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(39, 169, 52, 0.08);
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control.error {
    border-color: #ef4444;
}

.form-control.success {
    border-color: var(--secondary);
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 2.6rem;
    color: #9ca3af;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group:focus-within .form-icon {
    color: var(--secondary);
}

.textarea-icon {
    top: 2.4rem;
}

/* Textarea */
textarea.form-control {
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

/* Char Count */
.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.3rem;
}

.char-count span {
    font-weight: 600;
    color: var(--dark);
}

/* Select */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

select.form-control option {
    padding: 0.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check-input {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(39, 169, 52, 0.15);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text);
}

.terms-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: var(--secondary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 169, 52, 0.3);
    width: 100%;
}

.btn-submit:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 169, 52, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit i {
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(4px);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(39, 169, 52, 0.1);
    color: var(--secondary);
    border-left: 4px solid var(--secondary);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background: rgba(6, 147, 227, 0.1);
    color: #0693e3;
    border-left: 4px solid #0693e3;
}

.alert .btn-close {
    font-size: 0.8rem;
    margin-left: auto;
}

/* =========================================
   MAP SECTION
   ========================================= */
.map-section {
    padding: 0;
    background: var(--white);
}

.map-wrapper {
    position: relative;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(0.1);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0);
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.map-pin {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: bouncePin 2s ease-in-out infinite;
}

@keyframes bouncePin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.map-pin i {
    color: #ef4444;
    font-size: 1.5rem;
}

.map-pin span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    padding: 80px 0;
    background: var(--light);
}

.faq-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.faq-section .section-badge {
    display: inline-block;
    background: rgba(39, 169, 52, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.faq-section .section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.faq-section .section-title span {
    color: var(--secondary);
}

.faq-section .section-divider {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 0.75rem auto 1rem;
    border-radius: 2px;
}

.faq-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.7;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(39, 169, 52, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.faq-question i {
    color: var(--secondary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-question h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    margin: 0;
}

.faq-answer {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 2.1rem;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1a2a3a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(39, 169, 52, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-badge {
    display: inline-block;
    background: rgba(39, 169, 52, 0.15);
    color: var(--secondary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(39, 169, 52, 0.15);
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-title span {
    color: var(--secondary);
}

.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    background: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 169, 52, 0.3);
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--secondary);
}

.btn-cta-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 169, 52, 0.4);
    color: white;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

/* Tablets & Below */
@media (max-width: 992px) {
    .contact-hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-info-wrapper {
        padding-right: 0;
    }
    
    .contact-info-wrapper .section-title {
        font-size: 2.2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .faq-section .section-title {
        font-size: 2.2rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
    }
    
    .contact-hero .container {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-info-wrapper .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-item:hover {
        transform: translateX(4px);
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
    
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-section .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .contact-hero {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-wrapper .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .form-control {
        padding: 0.6rem 1rem 0.6rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .form-icon {
        left: 0.75rem;
        top: 2.4rem;
        font-size: 0.85rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem;
    }
    
    .contact-item:hover {
        transform: translateY(-4px);
        transform: translateX(0);
    }
    
    .contact-details {
        width: 100%;
    }
    
    .contact-value {
        font-size: 0.95rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .btn-submit {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .map-wrapper iframe {
        height: 280px;
    }
    
    .map-pin {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .map-pin i {
        font-size: 1.2rem;
    }
    
    .map-pin span {
        font-size: 0.85rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .cta-text {
        font-size: 0.95rem;
    }
    
    .btn-cta-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .form-check-label {
        font-size: 0.85rem;
    }
}

/* =========================================
   FORM ANIMATIONS
   ========================================= */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form .form-group {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

.contact-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.contact-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.contact-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.contact-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.contact-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.contact-form .form-actions { animation-delay: 0.6s; }