/* =========================================
   1. Google Fonts & CSS Variables (WAAA Theme)
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* 3-Color Grid System */
    --bg-platinum: #F4F5F8; /* Soft Platinum Grey */
    --bg-white: #FFFFFF;
    --navy-blue: #0A192F;   /* Midnight Navy Blue */
    --tech-teal: #00D8FF;   /* Neon Tech Cyan/Teal */
    
    /* Typography & Structural */
    --text-main: #0A192F;
    --text-muted: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
}

/* =========================================
   2. Base Reset & Layout Constraints
========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-platinum);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    top: 0px !important;
}

a { 
    text-decoration: none; 
    color: var(--navy-blue); 
    transition: all 0.3s ease; 
}

.nav-container, .main-content, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.main-content { 
    padding: 50px 20px; 
}

/* =========================================
   3. Glassmorphic Navigation Bar & Logo
========================================= */
.glass-navbar {
    position: sticky; 
    top: 0; 
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000; 
    padding: 12px 0;
}
.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
}

/* Logo Styling */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}
.nav-logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}
.navbar-brand:hover .nav-logo-img {
    transform: scale(1.03);
}
.nav-logo-fallback {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy-blue);
    letter-spacing: 1px;
}
.nav-logo-fallback span {
    color: var(--tech-teal);
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 24px; 
    justify-content: flex-end; 
}
.nav-links > a, .dropdown > a { 
    font-weight: 600; 
    font-size: 14.5px; 
    color: var(--navy-blue); 
}
.nav-links a:hover, .dropdown:hover > a { 
    color: #0284c7; 
}

/* Dropdown Menu */
.dropdown { 
    position: relative; 
    display: inline-block; 
}
.dropdown-menu {
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0;
    background: var(--bg-white); 
    min-width: 270px;
    box-shadow: 0 12px 40px rgba(10, 25, 47, 0.1);
    border-radius: 12px; 
    padding: 8px 0; 
    z-index: 1000;
    border: 1px solid var(--glass-border);
}
.dropdown:hover .dropdown-menu { 
    display: block; 
    animation: fadeIn 0.2s ease-in-out; 
}
.dropdown-menu a { 
    display: block; 
    padding: 10px 20px; 
    font-size: 13.5px; 
    color: #334155;
    border-bottom: 1px solid rgba(0,0,0,0.03); 
}
.dropdown-menu a:last-child {
    border-bottom: none;
}
.dropdown-menu a:hover {
    background: #f8fafc;
    color: #0284c7;
    padding-left: 24px;
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(8px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* =========================================
   4. Google Translate Minimalist Styling
========================================= */
#google_translate_element {
    display: inline-block;
}
.goog-te-gadget {
    font-size: 0 !important;
}
.goog-te-gadget .goog-te-combo {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--navy-blue);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.goog-te-banner-frame.skiptranslate, .goog-te-banner-frame {
    display: none !important;
}

/* =========================================
   5. Buttons (Pill Styled)
========================================= */
.btn-primary {
    background: var(--navy-blue) !important;
    color: var(--bg-white) !important;
    padding: 10px 22px; 
    border-radius: 50px;
    font-weight: 700; 
    font-size: 13.5px; 
    display: inline-block;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.15);
    border: none;
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.25); 
}

.btn-teal {
    background: var(--tech-teal) !important;
    color: var(--navy-blue) !important;
    padding: 10px 22px; 
    border-radius: 50px;
    font-weight: 800; 
    font-size: 13.5px; 
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 216, 255, 0.25);
    border: none;
}
.btn-teal:hover { 
    filter: brightness(1.08); 
    transform: translateY(-2px); 
}

/* =========================================
   6. Interactive Content Cards (iOS Widget)
========================================= */
.card-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    margin-top: 40px; 
}
.ios-card {
    background: var(--bg-white); 
    border-radius: 18px; 
    padding: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 30px rgba(10, 25, 47, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ios-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.08); 
}

.card-navy { 
    background: var(--navy-blue); 
    color: var(--bg-white); 
}
.card-navy p, .card-navy h3 { 
    color: var(--bg-white); 
}

.glow-dot {
    display: inline-block; 
    width: 8px; 
    height: 8px;
    background-color: var(--tech-teal); 
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tech-teal); 
    margin-right: 8px;
}

/* =========================================
   7. Single-Bar Clean Minimalist Footer
========================================= */
.waaa-minimal-footer {
    background: #0A192F !important; /* হেডারের সাথে হুবহু ম্যাচ করা হলো */
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    margin-top: auto;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    padding: 0 20px;
}
.footer-copy strong {
    color: #e2e8f0;
}
.footer-dev {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-dev strong {
    color: #ffffff;
}
.footer-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}
.icon-link {
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.svg-icon {
    width: 18px;
    height: 18px;
}
.icon-link:hover {
    transform: scale(1.25) translateY(-2px);
}
.icon-web:hover { color: #00d8ff; }
.icon-wa:hover { color: #25D366; }
.icon-li:hover { color: #0A66C2; }
.icon-ig:hover { color: #E4405F; }

/* =========================================
   8. Mobile Responsiveness
========================================= */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 12px;
    }
    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
    }
    .nav-logo-img {
        height: 32px;
    }
    .footer-row {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-dev {
        flex-direction: column;
        gap: 8px;
    }
}