
/* Contact Page Specific Styles */

.contact-main {
    min-height: 100vh;
    background-color: #f8f9fa;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #4caf50, #2c5530);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Content */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Company Description */
.description-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.description-card h2 {
    color: #2c5530;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.description-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 3px;
    background: #4caf50;
    border-radius: 2px;
}

.description-card p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: translateX(-5px);
}

.feature-item i {
    color: #4caf50;
    font-size: 1.1rem;
    margin-left: 1rem;
}

.feature-item span {
    color: #2c5530;
    font-weight: 500;
}

/* Contact Form */
.form-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-card h2 {
    color: #2c5530;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.form-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #4caf50;
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c5530;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #4caf50, #2c5530);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.success-message i {
    color: #4caf50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.success-message p {
    color: #2c5530;
    font-weight: 500;
    margin: 0;
}

/* Contact Information */
.contact-info-section {
    margin-top: 4rem;
}

.contact-info-section h2 {
    color: #2c5530;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.contact-info-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #4caf50;
    border-radius: 2px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #4caf50;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-icon {
    background: linear-gradient(135deg, #4caf50, #2c5530);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.info-icon i {
    color: white;
    font-size: 1.8rem;
}

.info-content h3 {
    color: #2c5530;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Active navigation */
.main-nav a.active {
    color: #4caf50;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .description-card,
    .form-card {
        padding: 2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        padding: 2rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .description-card,
    .form-card {
        padding: 1.5rem;
    }
    
    .description-card h2,
    .form-card h2 {
        font-size: 1.5rem;
    }
    
    .contact-info-section h2 {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .contact-hero {
        padding: 2rem 0;
    }
    
    .description-card,
    .form-card {
        padding: 1.25rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}