/*
Theme Name: FlyGateBD
Theme URI: https://flygatebd.com/
Author: Converted from Blogger XML by Lovable
Description: WordPress conversion of the FlyGateBD Blogger theme — premium travel and passport assistance for Bangladeshi expats in Saudi Arabia. Bengali/Arabic/English ready.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flygatebd
*/

/* Google Fonts */
    @import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;600;700&family=Poppins:wght@400;600;700&family=Cairo:wght@400;600;700&display=swap');

    /* Reset & Base Styles */
    *, *::before, *::after {
        box-sizing: border-box;
    }

    body {
        font-family: 'Hind Siliguri', 'Cairo', 'Poppins', sans-serif;
        margin: 0;
        padding: 0;
        color: #1e293b;
        background-color: #f8fafc;
        line-height: 1.7;
        transition: all 0.3s ease;
    }

    body.rtl {
        direction: rtl;
        text-align: right;
    }

    .container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Header & Navigation */
    header {
        background-color: #0096B1;
        padding: 1px 0;
        position: sticky;
        top: 0;
        z-index: 800;
        border-bottom: 1px solid #d4af30;
        box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    }

   /* মোবাইল ফ্রেন্ডলি হেডার স্টাইল */
.header-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 6px 15px;
    background-color: #0096B1;
    flex-wrap: wrap;
}

.logo {
    text-align: center;
}

.logo a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 600px) {
    .header-flex {
        flex-direction: column;
        gap: 10px;
    }
    .nav-menu {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Section */
    .hero {
        background: linear-gradient(135deg, rgba(11, 26, 48, 0.85) 0%, rgba(19, 42, 75, 0.85) 100%), url('https://images.unsplash.com/photo-1540962351504-03099e0a754b?auto=format&fit=crop&w=1600&q=80') no-repeat center center;
        background-size: cover;
        color: white;
        padding: 100px 0;
        text-align: center;
        border-bottom: 5px solid #d4af37;
    }

    .hero h1 {
        font-size: 40px;
        margin: 0 0 20px 0;
        line-height: 1.4;
        font-weight: 700;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    .hero p {
        font-size: 19px;
        color: #cbd5e1;
        margin: 0 auto 35px auto;
        max-width: 800px;
        text-shadow: 0 1px 5px rgba(0,0,0,0.4);
    }

    .hero-btn {
        background: linear-gradient(135deg, #d4af37 0%, #aa8410 100%);
        color: #0b1a30;
        padding: 15px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        transition: all 0.3s ease;
        display: inline-block;
    }

    .hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    }

    /* Stats Section */
    .stats-section {
        background-color: #0b1a30;
        color: white;
        padding: 50px 0;
        text-align: center;
        border-bottom: 1px solid #1e293b;
    }

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

    .stat-card h3 {
        font-size: 36px;
        color: #d4af37;
        margin: 0 0 10px 0;
        font-weight: 700;
    }

    .stat-card p {
        font-size: 16px;
        color: #cbd5e1;
        margin: 0;
    }

    /* Why Choose Us Section */
    .why-choose-us {
        padding: 80px 0;
        background-color: #ffffff;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .feature-card {
        text-align: center;
        padding: 30px 20px;
        border-radius: 12px;
        background-color: #f8fafc;
        border: 1px solid #e2e8f0;
        transition: all 0.3s;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: #d4af37;
    }

    .feature-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .feature-card h5 {
        font-size: 18px;
        color: #0b1a30;
        margin: 0 0 10px 0;
    }

    .feature-card p {
        font-size: 14px;
        color: #64748b;
        margin: 0;
    }

    /* Services Section */
    .services {
        padding: 80px 0;
        background-color: #f8fafc;
    }

    .section-title {
        text-align: center;
        font-size: 32px;
        color: #0b1a30;
        margin-bottom: 10px;
        font-weight: 700;
        position: relative;
    }

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background-color: #d4af37;
        margin: 15px auto 0 auto;
        border-radius: 2px;
    }

    .section-subtitle {
        text-align: center;
        color: #64748b;
        font-size: 17px;
        max-width: 650px;
        margin: 0 auto 50px auto;
    }

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

    .service-card {
        background: #ffffff;
        padding: 35px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        border: 1px solid #e2e8f0;
        border-top: 5px solid #d4af37;
        transition: all 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(11, 26, 48, 0.08);
    }

    .service-card h3 {
        font-size: 22px;
        color: #0b1a30;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .service-card p {
        color: #475569;
        font-size: 15px;
        margin: 0;
    }

    /* Testimonials */
    .testimonials {
        padding: 80px 0;
        background-color: #ffffff;
    }

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

    .review-card {
        background-color: #f8fafc;
        padding: 30px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        position: relative;
    }

    .quote-icon {
        font-size: 40px;
        color: #e2e8f0;
        position: absolute;
        top: 20px;
        right: 25px;
    }

    .stars {
        color: #ffc107;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .review-text {
        font-style: italic;
        color: #475569;
        font-size: 15px;
        margin-bottom: 20px;
    }

    .reviewer-info strong {
        color: #0b1a30;
        display: block;
        font-size: 16px;
    }

    .reviewer-info span {
        font-size: 13px;
        color: #94a3b8;
    }

    /* Dynamic Content */
    .dynamic-content {
        padding: 60px 0;
        background-color: #ffffff;
    }

    .post-body {
        font-size: 16px;
        color: #334155;
        line-height: 1.8;
    }

    /* About Section */
    .about-section {
        background-color: #f8fafc;
        padding: 80px 0;
        border-top: 1px solid #e2e8f0;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 50px;
        align-items: center;
    }

    .about-text h3 {
        font-size: 26px;
        color: #0b1a30;
        margin-top: 0;
    }

    .about-text p {
        color: #475569;
        font-size: 16px;
    }

    .about-highlights {
        background-color: #ffffff;
        padding: 30px;
        border-radius: 12px;
        border-left: 5px solid #d4af37;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    }

    .highlight-item {
        margin-bottom: 25px;
    }

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

    .highlight-item strong {
        color: #0b1a30;
        display: block;
        font-size: 17px;
    }

    .highlight-item p {
        margin: 0;
        font-size: 14.5px;
        color: #64748b;
    }

    /* Footer */
    footer {
        background-color: #0b1a30;
        color: white;
        padding: 60px 0 30px 0;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-col h4 {
        color: #d4af37;
        font-size: 19px;
        margin: 0 0 20px 0;
    }

    .footer-col p {
        color: #94a3b8;
        margin: 8px 0;
        font-size: 15px;
    }

    .footer-col a.privacy-link {
        color: #d4af37;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: color 0.2s ease;
        display: inline-block;
        margin-top: 5px;
    }

    .footer-col a.privacy-link:hover {
        color: #ffffff;
       text-decoration: underline;
}
.footer-col a.condition-link {
        color: #d4af37;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        transition: color 0.2s ease;
        display: inline-block;
        margin-top: 5px;
    }

    .footer-col a.condition-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    .copyright {
        text-align: center;
        padding-top: 14px;
        border-top: 1px solid #0097B2;
        font-size: 16px;
        color: #0097B2;
    }

    .sticky-contact {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        display: none;
    

 }

    /* FAQ Section (accordion) */
    .faq-section {
        padding: 80px 0;
        background-color: #f8fafc;
    }

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

    .faq-item {
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .faq-question {
        padding: 20px;
        background-color: #ffffff;
        color: #0b1a30;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        user-select: none;
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background-color: #ffffff;
    }

    
    .faq-item.active .faq-answer {
        max-height: 1000px;
        transition: max-height 0.5s ease-in;
    }
    .faq-question::after {
        content: '+';
        font-size: 22px;
        font-weight: 700;
        transition: transform 0.3s ease;
    }
    .faq-item.active .faq-question::after {
        content: '−';
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
        color: #475569;
        font-size: 15px;
        border-top: 1px solid #f1f5f9;
    }
/* Dynamic Content Section */
    .dynamic-content {
        padding: 60px 0;
        background-color: #ffffff;
        border-top: 1px solid #e2e8f0;
    }

    .post-body {
        font-size: 16px;
        color: #334155;
        line-height: 1.8;
    }
  /* Payment Methods Strip */
    .payment-strip {
        background-color: #f1f5f9;
        padding: 30px 0;
        text-align: center;
        border-top: 1px solid #e2e8f0;
    }

    .payment-title {
        font-size: 14px;
        text-transform: uppercase;
        color: #64748b;
        letter-spacing: 1px;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .payment-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    .payment-icons span {
        font-size: 18px;
        font-weight: 700;
        color: #475569;
        background-color: #ffffff;
        padding: 8px 18px;
        border-radius: 6px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        border: 1px solid #e2e8f0;
    }
    /* Dynamic Content Section */
    .dynamic-content {
        padding: 60px 0;
        background-color: #ffffff;
        border-top: 1px solid #e2e8f0;
    }

    .post-body {
        font-size: 16px;
        color: #334155;
        line-height: 1.8;
    }
    @media (max-width: 768px) {
        .hero { padding: 80px 0; }
        .hero h1 { font-size: 30px; }
        .hero p { font-size: 16px; }
        .header-flex { justify-content: center; text-align: center; }
        .nav-menu { width: 100%; justify-content: center; margin: 10px 0; flex-wrap: wrap; }
        .lang-dropdown { margin-top: 5px; }
        .about-grid { grid-template-columns: 1fr; gap: 40px; }
        .sticky-contact { display: block; }
/* Quick Nav Style */
.quick-nav { background: #333; overflow: hidden; }
.quick-nav ul { list-style: none; padding: 0; margin: 0; display: flex; }
.quick-nav ul li a { display: block; color: white; padding: 10px 15px; text-decoration: none; font-size: 14px; }
.quick-nav ul li a:hover { background: #555; }


}

/* ===== Recent Posts Marquee (added fix) ===== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
  padding: 12px 0;
  border-radius: 8px;
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: flygate-marquee 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes flygate-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.auto-post-card {
  flex: 0 0 220px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.auto-post-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.auto-post-content { padding: 10px 12px; }
.auto-post-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.auto-post-title:hover { color: #0097B2; }
