/* ============================================
   CONTACT PAGE - GREENFAJ SOLUTIONS
   ============================================ */

/* ========== VIDEO HERO SECTION WITH CUSTOM TEXT POSITION ========== */
.page-hero.video-hero {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;  /* Moves text to bottom */
    justify-content: flex-start;  /* Moves text to left */
    text-align: left;  /* Aligns text to left */
    padding: 4rem 10%;
}

.page-hero.video-hero .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero.video-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.page-hero.video-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.page-hero.video-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-hero.video-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* ========== CONTACT PAGE LAYOUT ========== */
.contact-page {
    padding: 5rem 10%;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Side - Contact Details */
.contact-details h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-circle i {
    font-size: 1.3rem;
    color: var(--accent-gold);
}

.contact-info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--accent-gold);
}

.contact-info-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-info-text .small-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Social Links */
.contact-social h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-green);
    text-decoration: none;
}

.social-icon i {
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* Right Side - Contact Form with Video Background */
.contact-form-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-form-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-form-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.contact-form-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.contact-form-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(247, 179, 43, 0.2);
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.submit-btn i {
    font-size: 0.9rem;
}

/* Form Message */
#form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-section {
    margin-top: 1.5rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1.4rem;
}

.whatsapp-btn:hover {
    background-color: #20b859;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* ========== MAP SECTION ========== */
.map-section {
    padding: 0 10% 5rem 10%;
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .contact-page {
        padding: 3rem 5%;
    }
    
    .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero.video-hero {
        min-height: 300px;
        padding: 2rem 5%;
    }
    
    .page-hero.video-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .map-section {
        padding: 0 5% 3rem 5%;
    }
    
    .whatsapp-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .whatsapp-btn i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-info-item {
        gap: 0.8rem;
    }
    
    .contact-icon-circle {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon-circle i {
        font-size: 1rem;
    }
}