/* public/css/contact.css */
.contact-hero {
    position: relative;
    padding: 50px 0 90px;
    background: linear-gradient(135deg, #eef5ff 0%, #f0fdf8 50%, #e8f4fd 100%);
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* â”€â”€ Animated Wave Background â”€â”€ */
.hero-animated-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
}
.waves {
    position: relative;
    width: 100%;
    height: 150px;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
}
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* â”€â”€ SEO Glassmorphic Floating Cards â”€â”€ */
.seo-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 3;
}
.glass-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.glass-icon-box svg { width: 20px; height: 20px; }
.bg-green-gradient { background: linear-gradient(135deg, #10b981, #059669); }
.bg-blue-gradient { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.bg-orange-gradient { background: linear-gradient(135deg, #f59e0b, #d97706); }

.glass-text { display: flex; flex-direction: column; }
.glass-title { font-weight: 800; font-size: 1.1rem; color: #111827; line-height: 1.2; }
.glass-subtitle { font-size: 0.8rem; color: #64748b; font-weight: 500; }

.glass-card-1 { top: 20%; left: 8%; }
.glass-card-2 { bottom: 25%; left: 12%; }
.glass-card-3 { top: 30%; right: 8%; }

.anim-float-a { animation: floatA 4s ease-in-out infinite alternate; }
.anim-float-b { animation: floatB 5s ease-in-out infinite alternate; }
.anim-float-c { animation: floatC 6s ease-in-out infinite alternate; }

@keyframes floatA { 0% { transform: translateY(0); } 100% { transform: translateY(-15px); } }
@keyframes floatB { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }
@keyframes floatC { 0% { transform: translateY(0); } 100% { transform: translateY(-12px); } }

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

/* Center Content */
.contact-hero-center {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 5;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: #ffffff;
    color: #2878FF;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.contact-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: #2878FF;
    border-radius: 50%;
}

.contact-title {
    font-size: 4rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}
.contact-title span {
    background: linear-gradient(to right, #2878FF, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Row */
.contact-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}
.feature-item .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-item .icon-circle svg {
    width: 18px;
    height: 18px;
}

.bg-light-blue { background: #eff6ff; color: #2563eb; }
.bg-light-green { background: #ecfdf5; color: #059669; }

/* Buttons */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.contact-btn-primary {
    display: inline-flex;
    align-items: center;
    background: #2878FF;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(40, 120, 255, 0.25);
}
.contact-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(40, 120, 255, 0.35);
    color: #ffffff;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #111827;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}
.btn-icon-svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Contact Cards Section */
.contact-cards-section {
    padding: 20px 0 80px;
    background: #fcfdfe;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.contact-info-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
    color: #ffffff;
}

/* Card Icon */
.card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}
.bg-blue-light { background: #eff6ff; color: #2878FF; }
.bg-green-light { background: #ecfdf5; color: #10b981; }

.card-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.contact-info-card:hover .card-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Card Details */
.card-details {
    z-index: 2;
    position: relative;
}
.card-details h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #111827;
    transition: color 0.4s ease;
}
.card-details .highlight-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2878FF;
    margin-bottom: 4px;
    transition: color 0.4s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-details .sub-text {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    transition: color 0.4s ease;
}

.contact-info-card:hover .card-details h4,
.contact-info-card:hover .card-details .highlight-text,
.contact-info-card:hover .card-details .sub-text {
    color: #ffffff;
}

/* Gradient Wave Effect */
.contact-info-card .card-wave {
    position: absolute;
    top: 100%; 
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, #2878FF, #10b981);
    border-radius: 40%; 
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.contact-info-card:hover .card-wave {
    top: -50%; 
    transform: rotate(15deg);
}

/* Consultation Section */
.consultation-section {
    padding: 60px 0 100px;
    background: #ffffff;
}
.consultation-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}
.consultation-form-wrapper {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 40px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.consultation-form-wrapper .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-top: 15px;
    margin-bottom: 10px;
}
.consultation-form-wrapper .section-subtitle {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Form Styles */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
.text-red { color: #ef4444; }
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.3s ease;
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}
.phone-input-wrapper {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}
.phone-input-wrapper:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
}
.phone-input-wrapper input {
    border: none;
    background: transparent;
    box-shadow: none;
}
.phone-input-wrapper input:focus {
    box-shadow: none;
}

.btn-submit {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    background: linear-gradient(135deg, #2878FF, #10b981);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(40, 120, 255, 0.2);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 120, 255, 0.3);
}
.secure-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Location Wrapper */
.consultation-location-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.location-top-box {
    display: flex;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.location-info {
    flex: 1;
    padding: 30px;
}
.location-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 15px 0;
    color: #111827;
}
.location-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}
.location-address svg {
    margin-top: 2px;
    flex-shrink: 0;
}
.btn-outline-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #bfdbfe;
    color: #2878FF;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.btn-outline-blue:hover {
    background: #eff6ff;
    border-color: #2878FF;
}
.location-image {
    width: 250px;
    flex-shrink: 0;
}
.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.location-map-box {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    min-height: 350px;
}
.location-map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: block;
}

/* FAQ Section */
.contact-faq-section {
    padding: 40px 0 60px;
    background: #fcfdfe;
    position: relative;
    overflow: hidden;
}
.faq-bg-blob {
    position: absolute;
    bottom: -50px;
    left: 10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #93c5fd, #34d399);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
}
.faq-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    align-items: center;
}
.faq-left-content {
    max-width: 450px;
}
.faq-left-content .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.faq-left-content .gradient-text {
    background: linear-gradient(135deg, #2878FF, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.faq-left-content .section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}
.faq-left-content .section-subtitle a {
    color: #2878FF;
    text-decoration: none;
    font-weight: 500;
}

.faq-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.04);
    padding: 10px 40px;
}
.faq-item {
    border-bottom: 1px solid #f1f5f9;
}
.faq-item.border-none {
    border-bottom: none;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px 0;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.q-icon {
    color: #93c5fd;
    margin-right: 15px;
    display: flex;
    align-items: center;
}
.q-icon svg {
    width: 12px;
    height: 12px;
}
.faq-toggle {
    margin-left: auto;
    font-size: 1.2rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
    font-weight: 400;
}
.faq-answer {
    padding: 0 0 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
/* Active state for accordion */
.faq-item.active .faq-question {
    color: #2878FF;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg); 
    color: #2878FF;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Final CTA Section */
.contact-final-cta {
    padding: 0 0 30px;
    background: #fcfdfe;
}
.cta-box {
    background: linear-gradient(135deg, #2878FF, #10b981);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
}
.cta-wave {
    position: absolute;
    width: 400px;
    height: 400px;
    z-index: 0;
    pointer-events: none;
}
.cta-wave-left {
    bottom: -150px;
    left: -100px;
    transform: rotate(45deg);
}
.cta-wave-right {
    top: -150px;
    right: -100px;
    transform: rotate(-45deg);
}
.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #ffffff;
}
.spark-left, .spark-right {
    width: 28px;
    height: 28px;
    color: rgba(255,255,255,0.8);
}
.spark-left { transform: rotate(-15deg); }
.spark-right { transform: rotate(15deg) scaleX(-1); }

.cta-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}
.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.btn-cta-white {
    background: #ffffff;
    color: #2878FF;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.btn-cta-white svg {
    width: 20px;
    height: 20px;
}
.btn-cta-outline {
    background: transparent;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}
.btn-cta-outline svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 991px) {
    .faq-split-layout { grid-template-columns: 1fr; }
    .faq-card { padding: 10px 25px; }
    .glass-card-1, .glass-card-3 { display: none; } /* Hide some cards to save space */
    .glass-card-2 { top: 10%; bottom: auto; left: 50%; transform: translateX(-50%); }
    .contact-hero { padding: 120px 0 60px; }
}

@media (max-width: 1200px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .consultation-grid {
        grid-template-columns: 1fr;
    }
    .contact-float-card { display: none; }
    .contact-hero-bg-left, .contact-hero-bg-right { display: none; }
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .location-top-box { flex-direction: column-reverse; }
    .location-image { width: 100%; height: 200px; }
    .location-map-box iframe { min-height: 300px; }
    .contact-title { font-size: 2.8rem; }
    .contact-buttons { flex-direction: column; }
    .contact-hero { padding: 40px 0; }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-cta-white, .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }
    .cta-title { font-size: 2rem; }
    .cta-box { padding: 40px 25px; }
    .consultation-form-wrapper { padding: 30px 15px; }
}

