/* ==========================================================
  CONTACT PAGE SPECIFIC STYLES (contact-styles.css)
  
  NOTE: This file ASSUMES your style.css is already loaded 
  for base styles (like .container, .cta-button, etc.).
  
  File Location: /css/contact-styles.css
  Image Location: /img/contact-banner.png
  ========================================================== */

/* 1. Contact Hero Section (to load the missing image) */
.contact-hero-full {
    position: relative;
    /* 💥 CRITICAL PATH FIX: The path uses ../ to go up from /css/ to / and then into /img/ */
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../img/contact-banner.png'); 
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Dark overlay for text readability */
.contact-hero-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 50, 0.55);
  z-index: 2;
}

.contact-hero-full h1 {
    font-size: 3em;
    color: var(--white);
    font-weight: 700;
}

.contact-hero-full p {
    font-size: 1.1em;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto 20px auto;
}

/* 2. Contact Form & Details Grid */
.contact-form-section {
    padding: 80px 0; /* Add padding consistent with other sections */
}

.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.consulting-form-container {
    flex: 2; /* Takes up more space */
    min-width: 300px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
}

.contact-details-container {
    flex: 1; /* Takes up less space */
    min-width: 250px;
    padding: 30px;
    border-radius: 8px;
    background-color: var(--light-gray);
}

.contact-details-container h2,
.consulting-form-container h2 {
    text-align: left;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

/* Form Styling */
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.contact-form .form-group {
    flex: 1;
    margin-bottom: 15px;
}
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--heading-color);
    font-size: 0.95em;
}
.contact-form input, 
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-blue);
    outline: none;
}
.contact-form textarea {
    resize: vertical;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
}

.schedule-btn {
    margin-top: 20px;
    width: 100%;
    border-radius: 50px !important;
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}
.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.contact-info-item i {
    font-size: 1.5em;
    color: var(--secondary-green);
    margin-right: 15px;
    margin-top: 5px;
}
.info-text h4 {
    font-size: 1.1em;
    color: var(--primary-blue);
    margin-bottom: 5px;
}
.info-text p {
    margin: 0;
    font-size: 0.95em;
}
.info-text .map-link {
    color: var(--secondary-green);
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}
.google-map-placeholder {
    width: 100%;
    height: 150px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-top: 10px;
}

/* ==========================================================
   FAQ SECTION STYLING (For 2-Column Layout)
   ========================================================== */

/* ১. FAQ List-কে বামদিকে অ্যালাইন করা (যদি কন্টেইনার সেন্টারে থাকে) */
.faq-list {
    /* এটি নিশ্চিত করে যে কলামগুলি কন্টেইনারের মধ্যে বাম দিকে শুরু হবে */
    justify-content: flex-start; 
    
    /* পূর্বের 2-column ফ্লেক্সবক্স স্টাইল বজায় রাখা */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* ২. প্রতিটি FAQ Item-এর ভেতরের টেক্সট বাম দিকে ফিক্স করা */
.faq-item {
    width: calc(50% - 10px); 
    /* নিশ্চিত করা যে ভেতরের লেখা বাম দিকে থাকবে */
    text-align: left; 
    
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question-header {
    display: flex;
    align-items: flex-start; /* আইকন এবং লেখা একই সারিতে (উপরে) রাখার জন্য */
    margin-bottom: 10px;
    text-align: left; /* পুরো হেডার বামে অ্যালাইন করা */
}

/* আইকন স্টাইল (রঙ যোগ) */
.faq-question-header i {
    /* *** আইকনের রঙ সেট করা হচ্ছে *** */
    color: #007bff; /* আপনার Primary Blue কালার কোড দিন, বা var(--primary-blue) ব্যবহার করুন */
    
    font-size: 1.2em;
    margin-right: 15px;
    flex-shrink: 0; /* আইকন যেন ছোট না হয়ে যায় */
}

/* শিরোনাম স্টাইল (বাম দিকে ফিক্সড) */
.faq-question-header h4 {
    text-align: left;
    margin: 0; /* নিশ্চিত করা যেন h4-এর কোনো অতিরিক্ত মার্জিন না থাকে */
    font-weight: 600; /* প্রশ্নটিকে বোল্ড করার জন্য */
}


.faq-item p {
    text-align: left; /* উত্তরের প্যারাগ্রাফ বামে অ্যালাইন করা */
}

/* মোবাইল রেসপনসিভনেস */
@media (max-width: 768px) {
    .faq-item {
        width: 100%;
    }
}
/* ==========================================================
   FAQ ITEM HOVER EFFECT (Multi-color/Dynamic Shadow)
   ========================================================== */

/* ১. ট্রানজিশন যোগ করা: এটিকে মসৃণ রাখবে */
.faq-item {
    transition: all 0.3s ease-in-out; 
    /* পূর্বের স্টাইল */
    border: 1px solid #e0e0e0;
}

/* ২. হোভার স্টাইল: ডাইনামিক, সফট মাল্টিকালার শেডো */
.faq-item:hover {
    /* সামান্য উপরের দিকে উঠে আসার ইফেক্ট */
    transform: translateY(-5px); 
    
    /* মাল্টিকালার, ডিপ শেডো ইফেক্ট: 
       এখানে একাধিক ছায়ার স্তর ব্যবহার করা হয়েছে, যা মাল্টিকালার ইফেক্ট দেবে।
       (নীল, হালকা নীল ও ধূসর) 
    */
    box-shadow: 
        0 4px 10px rgba(0, 123, 255, 0.2), /* Blue tint */
        0 8px 20px rgba(0, 0, 0, 0.1),    /* Primary shadow */
        0 12px 30px rgba(70, 130, 180, 0.1); /* Steel Blue tint */
    
    /* হোভার করার সময় বর্ডার পরিবর্তন (আরো হাইলাইট করার জন্য) */
    border-color: #007bff; /* Primary Blue */
}

/* ৩. হোভার করার সময় প্রশ্নের রঙ পরিবর্তন (ঐচ্ছিক - ফোকাস বাড়ানোর জন্য) */
.faq-item:hover h4 {
    color: #007bff; /* Primary Blue */
}

/* ---------------------------------------------------------------------- */
/* 4. FINAL CTA SECTION (Bottom Blue Banner) */
/* ---------------------------------------------------------------------- */

.contact-bottom-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.contact-bottom-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.contact-bottom-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Specific button styles for the bottom banner */
.white-text-btn {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.white-outline-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}



/* 5. Mobile Responsiveness for Contact Page */
@media (max-width: 992px) {
    .contact-hero-full {
        padding: 80px 0;
        min-height: 300px;
    }
    .contact-hero-full h1 {
        font-size: 2.2em;
    }
    
    .contact-grid {
        flex-direction: column;
    }

    .consulting-form-container,
    .contact-details-container {
        flex: auto;
        width: 100%;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-bottom-cta h2 {
        font-size: 2em;
    }
}

@media (max-width: 576px) {
    .contact-hero-full {
        min-height: 250px;
    }
    .contact-hero-full h1 {
        font-size: 1.8em;
    }
    .cta-buttons-container {
        flex-direction: column;
    }
    .cta-button {
        width: 100%;
    }
}