@import url(config.css);

/* ===================================
   MODERN CONTACT PAGE STYLES
   ================================== */

body {
    background: #f8fafc;
    font-family: 'Inter', var(--p), sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Contact Hero Section */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4a9eff 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 60, 114, 0.1);
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-family: var(--heading);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-family: var(--p);
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 1.2rem;
    color: #4a9eff;
}

.stat-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Main Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-family: var(--heading);
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-family: var(--heading);
}

.section-header p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 35px 70px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

/* Modern Form Styles */
.contact-form .form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form .form-control {
    height: 60px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem 1rem 0.5rem;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form .form-control:focus {
    border-color: #4a9eff;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1), 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}


.contact-form .form-floating label i {
    font-size: 1rem;
    color: #4a9eff;
}

.contact-form .form-control:focus + label,
.contact-form .form-control:not(:placeholder-shown) + label {
    display: none;
}

.contact-form textarea.form-control {
    height: 150px;
    resize: vertical;
    padding-top: 2rem;
}

.contact-form select.form-control {
    cursor: pointer;
}
.form-floating>.form-control-plaintext:focus, .form-floating>.form-control-plaintext:not(:placeholder-shown), .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown){
    padding-top: 0.625rem;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72 0%, #4a9eff 100%);
    border: none;
    border-radius: 15px;
    color: white;
    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;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading i:not(.btn-loading i) {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: block;
}

/* Contact Information */
.contact-info {
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72, #4a9eff);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-method:hover::before {
    transform: scaleY(1);
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a9eff, #1e3c72);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

.method-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.8rem;
    font-family: var(--heading);
}

.method-info p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.method-info a {
    color: #4a9eff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.method-info a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

.method-info small {
    font-size: 0.85rem;
    color: #94a3b8;
}

.chat-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Social Links */
.social-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.social-links h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-family: var(--heading);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon.facebook { background: #1877f2; }
.social-icon.twitter { background: #1da1f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.linkedin { background: #0077b5; }

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: white;
}

.map-container {
    background: #f8fafc;
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a9eff, #1e3c72);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(74, 158, 255, 0.3);
    animation: pulse 2s infinite;
}

.map-icon i {
    font-size: 2.5rem;
    color: white;
}

.map-placeholder h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-family: var(--heading);
}

.map-placeholder p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.map-btn {
    background: linear-gradient(135deg, #1e3c72, #4a9eff);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
}

.map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.4);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.accordion {
    --bs-accordion-border-radius: 15px;
    --bs-accordion-border-color: #e2e8f0;
}

.accordion-item {
    background: white;
    border-radius: 15px !important;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e3c72;
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #4a9eff, #1e3c72);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234a9eff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
}

.accordion-body {
    padding: 0 2rem 2rem;
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* Success Modal */
.modal-content {
    border-radius: 25px;
    border: none;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.modal-body {
    padding: 3rem;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #10b981;
    animation: successPop 0.6s ease-out;
}

.modal-body h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-family: var(--heading);
}

.modal-body p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.modal-body .btn-primary {
    background: linear-gradient(135deg, #1e3c72, #4a9eff);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
}

.modal-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.4);
}

/* Additional Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.form-header {
margin-bottom: 35px;
}

.form-header h2 {
font-size: 2.2em;
color: #4f46e5;
margin-bottom: 10px;
}

.form-header p {
color: #666;
font-size: 1.05em;
}

.form-group {
margin-bottom: 25px;
animation: fadeInUp 0.6s ease-out;
animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-group label {
display: block;
margin-bottom: 10px;
color: #333;
font-weight: 600;
font-size: 1.05em;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 15px 20px;
border: 2px solid #e0e0e0;
border-radius: 12px;
font-size: 1em;
font-family: inherit;
transition: all 0.3s ease;
background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #1e3c72;
background: white;
box-shadow: 0 5px 15px rgba(30, 60, 114, 0.1);
transform: translateY(-2px);
}

.form-group textarea {
resize: vertical;
min-height: 150px;
}

.submit-btn {
width: 100%;
padding: 18px;
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
color: white;
border: none;
border-radius: 12px;
font-size: 1.2em;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.submit-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
}

.submit-btn:active {
transform: translateY(-1px);
}

/* Contact Info */
.contact-info-section {
display: flex;
flex-direction: column;
gap: 25px;
animation: slideInRight 0.8s ease-out;
}

.info-card {
background: white;
padding: 35px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
transition: all 0.3s ease;
cursor: pointer;
border-left: 5px solid #1e3c72;
}

.info-card:hover {
transform: translateX(10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.info-card-icon {
font-size: 3em;
margin-bottom: 15px;
display: inline-block;
animation: bounce 2s infinite;
}

.info-card h3 {
font-size: 1.5em;
color: #1e3c72;
margin-bottom: 10px;
}

.info-card p {
color: #555;
font-size: 1.05em;
line-height: 1.7;
}

.info-card a {
color: #2a5298;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}

.info-card a:hover {
color: #1e3c72;
}

/* Map Section */
.map-section {
background: white;
padding: 50px;
border-radius: 30px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
animation: fadeInUp 1s ease-out;
}

.map-header {
text-align: center;
margin-bottom: 30px;
}

.map-header h2 {
font-size: 2.2em;
color: #1e3c72;
margin-bottom: 10px;
}

.map-header p {
color: #666;
font-size: 1.05em;
}

.map-container {
width: 100%;
height: 450px;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
position: relative;
background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.map-placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: #666;
}

.map-placeholder-icon {
font-size: 5em;
margin-bottom: 20px;
animation: pulse 2s infinite;
}

iframe {
width: 100%;
height: 100%;
border: none;
}

/* Address Boxes */
.address-boxes {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 40px;
}

.address-box {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
padding: 35px;
border-radius: 20px;
color: white;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
transition: all 0.3s ease;
animation: fadeInUp 0.8s ease-out;
animation-fill-mode: both;
}

.address-box:nth-child(1) { animation-delay: 0.2s; }
.address-box:nth-child(2) { animation-delay: 0.4s; }
.address-box:nth-child(3) { animation-delay: 0.6s; }

.address-box:hover {
transform: translateY(-10px);
box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.address-box-icon {
font-size: 3em;
margin-bottom: 20px;
display: inline-block;
}

.address-box h3 {
font-size: 1.6em;
margin-bottom: 15px;
font-weight: 700;
}

.address-box p {
font-size: 1.05em;
line-height: 1.8;
opacity: 0.95;
margin-bottom: 8px;
}

/* Success Message */
.success-message {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
background: white;
padding: 40px 60px;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
text-align: center;
z-index: 1000;
transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message.show {
transform: translate(-50%, -50%) scale(1);
}

.success-icon {
font-size: 5em;
color: #4caf50;
margin-bottom: 20px;
animation: successPop 0.6s ease-out;
}

.success-message h3 {
font-size: 2em;
color: #333;
margin-bottom: 10px;
}

.success-message p {
color: #666;
font-size: 1.1em;
}

.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.7);
z-index: 999;
display: none;
}

.overlay.show {
display: block;
animation: fadeIn 0.3s ease-out;
}

/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

@keyframes fadeInDown {
from {
    opacity: 0;
    transform: translateY(-40px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(40px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes slideInLeft {
from {
    opacity: 0;
    transform: translateX(-60px);
}
to {
    opacity: 1;
    transform: translateX(0);
}
}

@keyframes slideInRight {
from {
    opacity: 0;
    transform: translateX(60px);
}
to {
    opacity: 1;
    transform: translateX(0);
}
}

@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}

@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}

@keyframes successPop {
0% { transform: scale(0); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
.contact-content {
    grid-template-columns: 1fr;
}

.map-container {
    height: 400px;
}
}

@media (max-width: 768px) {
.contact-header h1 {
    font-size: 2.5em;
}

.contact-form-section,
.map-section {
    padding: 35px 25px;
}

.form-header h2,
.map-header h2 {
    font-size: 1.8em;
}

.address-boxes {
    grid-template-columns: 1fr;
}

.map-container {
    height: 350px;
}

.success-message {
    padding: 30px 40px;
}
.contact-form-wrapper{
    padding: 20px 30px;
}
.contact-form-section, .map-section{
    margin-bottom: 10px;
}
}

@media (max-width: 480px) {

.contact-header h1 {
    font-size: 2em;
}

.contact-form-section,
.map-section {
    padding: 25px 20px;
}

.info-card {
    padding: 25px;
}

.address-box {
    padding: 25px;
}

.map-container {
    height: 300px;
}
}
