/* Contact Page Styles */
.contact-main {
    margin-top: 70px;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' opacity='0.05'%3E%3Cpolygon fill='white' points='0,1000 1000,0 1000,1000'/%3E%3C/svg%3E");
    background-size: cover;
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Cards */
.contact-cards {
    padding: 80px 0;
    background: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8ecef;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.dhaka-office {
    border-top: 5px solid #0f0d63;
}

.chattagram-office {
    border-top: 5px solid #b42c1c ;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.card-header i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.dhaka-office .card-header i {
    background: #0f0d63;
}

.chattagram-office .card-header i {
    background: #b42c1c;
}

.card-header h3 {
    color: #12055e;
    font-size: 1.5rem;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: #27ae60;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-text strong {
    color: #2c4050;
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-text p {
    color: #1cc20d;
    margin: 0;
    line-height: 1.5;
}

.info-text a {
    color: #27ae60;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #c0392b;
}

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-header h2 {
    color: #0a14a7;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e8ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.email-hint {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 5px;
}
.phone-hint {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.submit-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #ff6b6b 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

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

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

.map-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.map-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

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

/* Social Media Section */
.social-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #ff6b6b 100%);
    color: white;
    text-align: center;
}

.social-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.social-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: white;
}

.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.linkedin { background: #0077b5; }
.instagram { background: #e4405f; }
.youtube { background: #ff0000; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}