/* Contact Page Styles */
/* :root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --light-color: #f8f9fa;
    --dark-color: #2d3436;
    --gray-color: #636e72;
    --light-gray: #dfe6e9;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
} */

/* Contact Hero Section */
.contact-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero .container{
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 40px;
}

.scroll-icon {
    position: relative;
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
}

.mouse {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: scrollAnimation 2s infinite;
}

.arrow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary-color);
    animation: arrowAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% { top: 5px; opacity: 1; }
    50% { top: 15px; opacity: 0.5; }
    100% { top: 5px; opacity: 1; }
}

@keyframes arrowAnimation {
    0% { bottom: -20px; opacity: 1; }
    50% { bottom: -25px; opacity: 0.5; }
    100% { bottom: -20px; opacity: 1; }
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-5deg);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.2;
    animation: floatAnimation 8s infinite ease-in-out;
}

.shape.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--accent-color);
    top: 50%;
    right: 15%;
    animation-delay: 1s;
}

.shape.square {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    bottom: 10%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes floatAnimation {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-form-wrapper {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    padding: 50px;
    margin-bottom: 60px;
}

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

.form-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--dark-color);
}

.form-header p {
    color: var(--gray-color);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
   max-width: 1006px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}
.input-droup-main{
    /* border: 1px solid red; */
    display: flex;
}
.input-group {
    position: relative;
    margin-bottom: 26px;
}

.input-group:last-child {
    margin-bottom: 26px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--light-gray);
    font-size: 16px;
    color: var(--dark-color);
    background-color: transparent;
    transition: var(--transition);
}

.input-group textarea {
    min-height: 100px;
    resize: vertical;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--gray-color);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.input-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3590a2;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-bottom-color: #3590a2;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -15px;
    font-size: 12px;
    color: #3590a2;
}

.input-group input:focus ~ .underline,
.input-group textarea:focus ~ .underline {
    width: 100%;
}

.form-footer {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    /* background-color: var(--primary-color); */
    background-color: #3590a2;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.submit-btn:hover {
    background-color: #5a4bd1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.submit-btn i {
    font-size: 14px;
}

.form-success {
    text-align: center;
    padding: 40px 0;
    display: none;
}

.success-icon {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.form-success p {
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.new-message-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.new-message-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-info-wrapper {
    /* display: flex; */
    gap: 30px;
}

.contact-info-card {
    flex: 2;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.contact-info-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--dark-color);
}

.contact-info-card p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.info-items {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: var(--primary-color); */
    color: #3590a2;
    font-size: 18px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-content p {
    margin-bottom: 0;
    font-size: 15px;
    color: var(--gray-color);
}

.info-content a {
    color: var(--gray-color);
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

.social-links h4 {
    font-size: 18px;
    /* margin-bottom: 15px; */
    color: var(--dark-color);
    margin-top: 9px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(108, 92, 231, 0.1);
    /* color: var(--primary-color); */
    color: #3590a2;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: #3590a2;
    color: white;
    transform: translateY(-3px);
}

.office-hours {
    flex: 1;
    /* background-color: var(--primary-color); */
    border-radius: 20px;
    /* padding: 40px; */
    overflow: hidden;
    display: none;
    color: white;
}

.office-hours h4 {
    font-size: 24px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.office-hours ul {
    list-style: none;
}

.office-hours li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.office-hours li:last-child {
    border-bottom: none;
}
.office-hours img{
    width: 100%;
    height: 100%;
}
/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.map-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--dark-color);
}

.map-wrapper {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.map-placeholder {
    height: 400px;
    background-color: #eee;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-map-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.view-map-btn:hover {
    background-color: #5a4bd1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 40px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 30px;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(108, 92, 231, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--gray-color);
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer a {
    color: var(--primary-color);
}

/* Newsletter CTA */
.newsletter-cta {
    /* background-color: var(--primary-color); */
    background-color: #3590a2;
    color: white;
    padding: 60px 0;
}

.newsletter-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cta-content p {
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.cta-form input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    border-radius: 4px;
    font-size: 16px;
}

.cta-form button {
    padding: 0 30px;
    background-color: var(--dark-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.cta-form button:hover {
    background-color: #1a252f;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 992px) {
    .contact-info-wrapper {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-cta .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .form-header h2 {
        font-size: 28px;
    }
    
    .map-section h2,
    .faq-section h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .input-group {
        margin-bottom: 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-form button {
        padding: 15px;
    }
}