

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

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

.contact-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Information Section */
.contact-info {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card.head-office {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #28a745;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.2);
    position: relative;
    overflow: hidden;
    grid-column: span 2;
}

.contact-card.head-office::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #28a745;
}

.contact-card.head-office h3 {
    color: #28a745;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-card.head-office:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.3);
}

.contact-card .address {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.contact-card.branch-office .address {
    font-size: 0.9rem;
}

.contact-card.head-office .address {
    font-size: 1rem;
    font-weight: 500;
}

.contact-card .icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card .icon i {
    font-size: 30px;
    color: #fff;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-card p a {
    color: var(--primary-color, #4CAF50);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-card p a:hover {
    color: var(--secondary-color, #388E3C);
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #58c96b 0%, #128C7E 100%);
}

.contact-form-container {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color, #4CAF50);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 8px;
    background-color: #25D366;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form button i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.contact-form button:hover {
    background-color: #128C7E;
}

/* Social Media Section */
.social-media-section {
    text-align: center;
    margin-top: 60px;
}

.social-media-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    color: var(--primary-color, #4CAF50);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color, #4CAF50);
    color: #fff;
}

/* Map Section */
.map-section {
    padding: 80px 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0;
    }
    
    .contact-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 80px 0;
    }
    
    .contact-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero .hero-content p {
        font-size: 1rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.7rem;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}