/* =========================================
   1. COLOR VARIABLES & BASE STYLES
   ========================================= */
:root {
    --royal-blue: #0A194F; 
    --blood-red: #cc0000;  
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --glass-bg: rgba(255, 255, 255, 0.9); 
    --glass-border: rgba(255, 255, 255, 0.5); 
    --body-bg: #eef2f6; 
    --card-bg: #ffffff;
    --border-radius: 25px; 
    --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: var(--body-bg); 
    padding: 60px 0; 
    display: flex; justify-content: center; 
    color: var(--text-dark); 
    font-family: 'Poppins', sans-serif;
    transition: var(--transition); 
}

/* 1. Box Layout (No BG, No Shadow) */
.boxed-layout-container { 
    width: 100%; max-width: 1400px; 
    background-color: transparent; 
    box-shadow: none; 
    position: relative; overflow-x: hidden; display: flex; flex-direction: column; 
}

.container { width: 90%; max-width: 1150px; margin: auto; }
section { padding: 80px 0; }
.section-heading { text-align: center; margin-bottom: 50px; }
.sub-title { color: var(--blood-red); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; display: block; margin-bottom: 8px; }
h2.section-title { font-size: 38px; font-weight: 700; color: var(--royal-blue); }

/* =========================================
   2. HEADER
   ========================================= */
header.glass-header {
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); position: sticky; 
    top: 25px; width: 92%; margin: 25px auto -90px; 
    z-index: 1000; padding: 15px 30px; border-radius: 100px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 700; color: var(--royal-blue); text-decoration: none; display: flex; align-items: center; }
.logo span { color: var(--blood-red); }
.logo-icon { margin-right: 8px; font-size: 26px; color: var(--blood-red); }

nav ul { display: flex; list-style: none; }
nav ul li { margin: 0 5px; }
nav ul li a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 15px; padding: 10px 20px; transition: var(--transition); border-radius: 50px; }
nav ul li a:hover { background: rgba(0, 35, 102, 0.08); color: var(--royal-blue); }
.header-actions { display: flex; align-items: center; gap: 15px; }

/* Language Dropdown */
.lang-dropdown { position: relative; display: inline-block; }
.lang-btn { background: #fff; border: 1px solid #e0e0e0; padding: 8px 16px; border-radius: 50px; cursor: pointer; font-size: 13px; font-weight: 600; transition: var(--transition); display: flex; align-items: center; gap: 5px; }
.lang-btn:hover { border-color: var(--royal-blue); color: var(--royal-blue); }
.dropdown-menu { display: none; position: absolute; top: 110%; right: 0; background-color: #fff; min-width: 140px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 15px; z-index: 1001; overflow: hidden; animation: slideUp 0.3s ease; }
.dropdown-menu.show { display: block; }
.dropdown-menu a { color: var(--text-dark); padding: 12px 20px; text-decoration: none; display: block; font-size: 13px; font-weight: 500; transition: 0.2s; }
.dropdown-menu a:hover { background-color: #f1f5f9; color: var(--royal-blue); }

.cta-small-header { text-decoration: none; background: var(--royal-blue); color: #fff; padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 14px; transition: var(--transition); }
.cta-small-header:hover { background: var(--blood-red); }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-premium {
    height: 80vh;
    background: url('https://images.unsplash.com/photo-1541976844346-f18aeac57b06?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    position: relative; display: flex; align-items: center; justify-content: center; color: #fff;
    border-radius: var(--border-radius); width: 100%; padding-top: 80px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10, 25, 79, 0.85), rgba(204, 0, 0, 0.6)); border-radius: var(--border-radius); }
.hero-content { position: relative; z-index: 10; text-align: center; }
.hero-subtitle { font-weight: 600; color: #ffcccc; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 15px; font-size: 14px; }
.hero-premium h1 { font-size: 56px; font-weight: 800; margin-bottom: 25px; line-height: 1.2; }
.hero-premium p { font-size: 18px; max-width: 700px; margin: 0 auto 40px auto; color: rgba(255, 255, 255, 0.9); }
.hero-btns { display: flex; justify-content: center; gap: 20px; }
.cta-btn { display: inline-block; padding: 16px 40px; text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 16px; transition: var(--transition); border: none; cursor: pointer; }
.royal-btn { background: var(--royal-blue); color: #fff; }
.royal-btn:hover { background: #001a4d; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(10, 25, 79, 0.3); }
.red-btn { background: var(--blood-red); color: #fff; }
.red-btn:hover { background: #990000; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3); }

/* =========================================
   4. PREMIUM MARQUEE (Client Logos)
   ========================================= */
.premium-client-section { padding: 40px 0; background: transparent; text-align: center; overflow: hidden; }
.marquee-title { font-size: 15px; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; }
.marquee-container { width: 100%; overflow: hidden; }
.marquee-track { display: flex; width: calc(200px * 16); animation: scrollMarquee 25s linear infinite; align-items: center; }
.logo-box { width: 200px; display: flex; align-items: center; justify-content: center; margin: 0 20px; }
.logo-box img { max-width: 150px; max-height: 60px; object-fit: contain; filter: grayscale(100%) opacity(60%); transition: var(--transition); cursor: pointer;}
.logo-box:hover img { filter: grayscale(0%) opacity(100%); transform: scale(1.05); }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-200px * 8)); } }

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card-premium { background: var(--card-bg); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); transition: var(--transition); cursor: pointer; border: 1px solid #f9f9f9; }
.service-card-premium img { width: 100%; height: 240px; object-fit: cover; transition: var(--transition); }
.service-card-premium:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,35,102,0.1); }
.service-card-premium:hover img { transform: scale(1.05); }
.card-content { padding: 30px; }
.service-card-premium h3 { color: var(--royal-blue); margin-bottom: 12px; font-weight: 700; font-size: 20px; }
.service-card-premium p { color: var(--text-light); font-size: 15px; line-height: 1.6; }
.read-more { display: inline-block; margin-top: 15px; color: var(--blood-red); font-weight: 600; font-size: 14px; opacity: 0; transition: var(--transition); transform: translateX(-10px); }
.service-card-premium:hover .read-more { opacity: 1; transform: translateX(0); }

/* =========================================
   6. TESTIMONIALS CAROUSEL
   ========================================= */
.testimonials-section { background: #fafcff; border-radius: var(--border-radius); padding: 80px 0; margin: 0 auto; width: 100%; } 
.carousel-wrapper { display: flex; align-items: center; position: relative; gap: 20px; width: 100%; }
.carousel-btn { background: #fff; border: 1px solid #eee; width: 50px; height: 50px; border-radius: 50%; font-size: 18px; color: var(--royal-blue); cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; z-index: 10; flex-shrink: 0; }
.carousel-btn:hover { background: var(--royal-blue); color: #fff; }
.testi-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 30px; padding: 20px 0; flex: 1;}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { min-width: calc(50% - 15px); background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); scroll-snap-align: center; border: 1px solid #f0f0f0; display: flex; flex-direction: column; justify-content: space-between; }
.testi-card .stars { color: #FFD700; margin-bottom: 15px; font-size: 14px; }
.testi-card p { font-style: italic; color: var(--text-light); margin-bottom: 25px; line-height: 1.7; font-size: 15px; }
.client-info h4 { color: var(--royal-blue); font-size: 18px; }
.client-info span { font-size: 13px; color: var(--blood-red); font-weight: 500; }

/* =========================================
   7. FAQ & BOOKING FORM
   ========================================= */
.faq-container { max-width: 800px; margin: auto; }
.faq-item { background: #fff; border: 1px solid #eee; margin-bottom: 15px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); overflow: hidden; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 25px; font-size: 16px; font-weight: 600; color: var(--royal-blue); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--blood-red); }
.faq-question i { transition: transform 0.3s ease; color: var(--blood-red); }
.faq-question.active i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: #fff; }
.faq-answer p { padding: 0 25px 20px; color: var(--text-light); font-size: 15px; line-height: 1.6; }

.form-wrapper-premium { display: flex; flex-wrap: wrap; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,35,102,0.06); overflow: hidden; border: 1px solid #f0f0f0; }
.form-info-side { flex: 1; min-width: 300px; background: linear-gradient(135deg, var(--royal-blue), #112240); color: #fff; padding: 60px 40px; }
.form-info-side h3 { font-size: 30px; margin-bottom: 20px; font-weight: 700; }
.form-info-side p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.8; }
.form-features { list-style: none; }
.form-features li { margin-bottom: 20px; font-size: 16px; display: flex; align-items: center; }
.form-features li i { color: #25d366; font-size: 20px; margin-right: 15px; }

.form-input-side { flex: 2; min-width: 350px; padding: 60px 50px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { position: relative; margin-bottom: 25px; }
.input-group i { position: absolute; left: 20px; top: 18px; color: var(--royal-blue); font-size: 18px; opacity: 0.7; }
.input-group.text-area-group i { top: 20px; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 18px 20px 18px 55px; border: 1.5px solid #eef2f6; border-radius: 12px; background: #f9fbfd; font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--text-dark); transition: var(--transition); }
.input-group select { appearance: none; cursor: pointer; color: var(--text-light); }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color: var(--royal-blue); outline: none; background: #fff; box-shadow: 0 5px 15px rgba(0, 35, 102, 0.05); }
.input-group textarea { padding-top: 18px; resize: vertical; }

/* =========================================
   8. FOOTER (Matched with Image)
   ========================================= */
.footer-premium { background: var(--royal-blue); color: #fff; padding: 80px 0 0; border-radius: var(--border-radius); width: 100%; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 60px; max-width: 1150px; margin: auto; }
.footer-col { text-align: left; }
.footer-logo { font-size: 24px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.text-red { color: var(--blood-red) !important; }
.footer-col p { font-size: 14px; color: rgba(255, 255, 255, 0.8); line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-size: 18px; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; color: #fff; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--blood-red); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { text-decoration: none; color: rgba(255, 255, 255, 0.8); font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.contact-info-list li { display: flex; align-items: center; gap: 15px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.footer-bottom { background: #061138; padding: 25px 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.5); border-radius: 0 0 var(--border-radius) var(--border-radius); }

/* =========================================
   9. MODAL, TOAST, FLOATING ACTIONS
   ========================================= */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease; }
.loading-ring { position: absolute; width: 100%; height: 100%; border: 4px solid #f3f3f3; border-top: 4px solid var(--royal-blue); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.floating-action-stack { position: fixed; bottom: 30px; right: 30px; z-index: 2000; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.chat-btn, .whatsapp-btn-float, #scrollToTopBtn { width: 60px; height: 60px; border-radius: 50%; border: none; outline: none; display: flex; align-items: center; justify-content: center; font-size: 28px; cursor: pointer; color: #fff; box-shadow: 0 8px 25px rgba(0,0,0,0.15); transition: 0.3s; text-decoration: none; }
.whatsapp-btn-float { background: #25d366; }
.chat-btn { background: var(--royal-blue); }
#scrollToTopBtn { background: var(--text-dark); font-size: 22px; display: none; }
.chat-btn:hover, .whatsapp-btn-float:hover, #scrollToTopBtn:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }

/* Modern Chatbot */
.chat-widget { display: none; position: fixed; bottom: 110px; right: 30px; width: 340px; background: #fff; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.15); z-index: 2500; overflow: hidden; animation: slideUp 0.3s ease; border: 1px solid #eee; }
.chat-header { background: linear-gradient(135deg, var(--royal-blue), #061138); color: #fff; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-agent { display: flex; align-items: center; gap: 12px; }
.chat-agent img { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.chat-agent h4 { font-size: 15px; font-weight: 600; }
.chat-agent span { font-size: 12px; color: #d1d5db; display: flex; align-items: center; gap: 5px; }
.online-dot { width: 8px; height: 8px; background: #25d366; border-radius: 50%; display: inline-block; }
.close-chat { cursor: pointer; font-size: 18px; opacity: 0.8; transition: 0.2s; }
.close-chat:hover { opacity: 1; transform: scale(1.1); }
.chat-body { padding: 20px; height: 280px; background: #f8fafc; overflow-y: auto; }
.bot-msg-wrapper { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 15px; }
.bot-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.bot-msg { background: #fff; padding: 12px 16px; border-radius: 15px 15px 15px 0; font-size: 13px; color: var(--text-dark); box-shadow: 0 2px 10px rgba(0,0,0,0.03); line-height: 1.5; border: 1px solid #eee; }
.chat-input { display: flex; padding: 15px; background: #fff; border-top: 1px solid #eee; gap: 10px; }
.chat-input input { flex: 1; padding: 12px 15px; border: 1px solid #e0e0e0; border-radius: 50px; outline: none; font-size: 13px; background: #f9f9f9; }
.chat-input button { width: 45px; height: 45px; border-radius: 50%; background: var(--blood-red); color: #fff; border: none; cursor: pointer; transition: 0.2s; }
.chat-input button:hover { background: #990000; transform: scale(1.05); }

/* Modal & Toast */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 3000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-box { background: #fff; padding: 40px; border-radius: 20px; max-width: 500px; width: 90%; text-align: center; position: relative; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; color: var(--text-light); cursor: pointer; }

#toast { visibility: hidden; min-width: 250px; background-color: #25d366; color: #fff; text-align: center; border-radius: 10px; padding: 16px; position: fixed; z-index: 4000; left: 50%; bottom: 30px; transform: translateX(-50%); font-weight: 600; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
#toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
@keyframes fadein { from { bottom: 0; opacity: 0; } to { bottom: 30px; opacity: 1; } }
@keyframes fadeout { from { bottom: 30px; opacity: 1; } to { bottom: 0; opacity: 0; } }

/* =========================================
   10. RTL SUPPORT & FULL TRANSLATION
   ========================================= */
html[lang="ar"], html[lang="bn"] { font-family: 'Cairo', 'Hind Siliguri', 'Poppins', sans-serif; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .logo { flex-direction: row-reverse; justify-content: flex-end; }
html[dir="rtl"] .input-group i { left: auto; right: 20px; }
html[dir="rtl"] .input-group input, html[dir="rtl"] .input-group select, html[dir="rtl"] .input-group textarea { padding: 18px 55px 18px 20px; }
html[dir="rtl"] .faq-question { text-align: right; flex-direction: row-reverse;}
html[dir="rtl"] .form-features li i { margin-right: 0; margin-left: 15px; }
html[dir="rtl"] .floating-action-stack { right: auto; left: 30px; }
html[dir="rtl"] .chat-widget { right: auto; left: 30px; }
html[dir="rtl"] .bot-msg-wrapper { flex-direction: row-reverse; }
html[dir="rtl"] .bot-msg { border-radius: 15px 15px 0 15px; }
html[dir="rtl"] .carousel-btn.prev { transform: rotate(180deg); }
html[dir="rtl"] .carousel-btn.next { transform: rotate(180deg); }
html[dir="rtl"] .footer-col { text-align: right; }
html[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
html[dir="rtl"] .contact-info-list li { flex-direction: row-reverse; justify-content: flex-end; }

/* =========================================
   11. RESPONSIVE DESIGN
   ========================================= */
.hamburger { display: none; font-size: 24px; color: var(--royal-blue); cursor: pointer; }

@media (max-width: 991px) {
    header.glass-header { width: 95%; padding: 15px 20px; margin-bottom: -50px;}
    .hero-premium { padding-top: 100px; }
    .hero-premium h1 { font-size: 42px; }
    .form-wrapper-premium { flex-direction: column; }
    .form-info-side, .form-input-side { padding: 40px 30px; }
    .testi-card { min-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    nav, .cta-small-header { display: none; }
    
    #nav-menu { position: fixed; top: 0; right: -100%; width: 250px; height: 100vh; background: #fff; box-shadow: -5px 0 15px rgba(0,0,0,0.1); flex-direction: column; padding-top: 80px; transition: 0.4s; z-index: 999; display: flex;}
    #nav-menu.active { right: 0; }
    nav ul { flex-direction: column; }
    nav ul li { margin: 15px 0; border-bottom: 1px solid #eee; padding-left: 20px; }
    
    .hero-premium h1 { font-size: 34px; }
    .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
    .chat-widget { width: calc(100% - 60px); right: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
}