/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #2D5A27 0%, #1a3d1a 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item i {
    font-size: 2rem;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Methods */
.contact-methods {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.method-card {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 90, 39, 0.1);
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(45, 90, 39, 0.1) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.method-card:hover::before {
    opacity: 1;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 90, 39, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D5A27 0%, #D4AF37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.method-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #2D5A27, #D4AF37);
    border-radius: 50%;
    z-index: -1;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2D5A27;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.method-card > p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.method-info {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #2D5A27;
    font-weight: 600;
}

.info-item span {
    color: #666;
    text-align: left;
}

.contact-btn {
    background: linear-gradient(135deg, #2D5A27 0%, #D4AF37 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.3);
}

.contact-btn.primary {
    background: linear-gradient(135deg, #D4AF37 0%, #2D5A27 100%);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(45, 90, 39, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: #2D5A27;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(45, 90, 39, 0.1);
    transform: translateX(-5px);
}

.social-link.twitter:hover { color: #1DA1F2; }
.social-link.instagram:hover { color: #E4405F; }
.social-link.linkedin:hover { color: #0077B5; }

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2D5A27 0%, #1a3d1a 100%);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.form-container {
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    color: #2D5A27;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3rem;
    border: 2px solid rgba(45, 90, 39, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    background: white;
}

.form-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2D5A27;
    font-size: 1.1rem;
    opacity: 0.7;
}

.form-group:has(label) .form-icon {
    top: calc(50% + 15px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Tajawal', sans-serif;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(45, 90, 39, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #2D5A27;
    border-color: #2D5A27;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-text a {
    color: #D4AF37;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2D5A27 0%, #D4AF37 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(45, 90, 39, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Office Locations */
.office-locations {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.location-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 90, 39, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(45, 90, 39, 0.05) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover::before {
    opacity: 1;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(45, 90, 39, 0.15);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.location-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2D5A27;
    margin: 0;
}

.location-badge {
    background: linear-gradient(135deg, #D4AF37 0%, #2D5A27 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.location-badge.main {
    background: linear-gradient(135deg, #2D5A27 0%, #D4AF37 100%);
}

.location-info {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.location-info .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
}

.location-info .info-item:last-child {
    border-bottom: none;
}

.location-info .info-item i {
    color: #D4AF37;
    font-size: 1.1rem;
    width: 20px;
}

.location-btn {
    background: linear-gradient(135deg, #2D5A27 0%, #D4AF37 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.3);
}

/* FAQ Quick Access */
.faq-quick {
    padding: 100px 0;
    background: linear-gradient(135deg, #2D5A27 0%, #1a3d1a 100%);
    position: relative;
}

.faq-quick::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.faq-text {
    color: white;
}

.faq-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.faq-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.faq-list li:last-child {
    border-bottom: none;
}

.faq-list i {
    color: #D4AF37;
    font-size: 1.1rem;
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #D4AF37 0%, #2D5A27 100%);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.help-center {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.help-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37 0%, #2D5A27 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.help-icon i {
    font-size: 2.5rem;
    color: white;
}

.help-center h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.help-center p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.help-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .help-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .method-card,
    .location-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .help-center {
        padding: 2rem;
    }
}