/* =========================================================
   Europe UAE Consultancy - Main CSS Framework
   Design Palette: Deep Navy (#0a2540), Royal Blue (#2563eb), Gold (#f59e0b), Light Blue Canvas (#f4f7fc)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f2b5c;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px rgba(15,43,92,0.07);
    --shadow-lg: 0 20px 40px rgba(15,43,92,0.12);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Announcement Top Bar */
.top-bar {
    background: linear-gradient(90deg, #0f2b5c 0%, #1e3a8a 100%);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 8px 0;
    font-weight: 500;
}
.top-bar a {
    color: #fbbf24;
    text-decoration: none;
}
.top-bar a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.nav-link {
    font-weight: 600;
    color: #334155;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: #eff6ff;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #edf4ff 0%, #f8fafc 100%);
}
.badge-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: #dbeafe;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}
.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37,99,235,0.4);
    color: #ffffff;
}
.btn-gold-custom {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 20px rgba(245,158,11,0.3);
    transition: all 0.3s ease;
}
.btn-gold-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(245,158,11,0.4);
    color: #ffffff;
}
.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* Image Card Styling matching screenshots */
.photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}
.photo-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.photo-card:hover img {
    transform: scale(1.03);
}
.floating-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}
.floating-badge .badge-icon {
    width: 40px;
    height: 40px;
    background-color: #dbeafe;
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Service Card Design */
.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #bfdbfe;
}
.service-icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}
.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Country Card Design */
.country-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.country-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.country-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}
.country-body {
    padding: 20px;
}
.country-flag {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Stat Box */
.stat-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Consultation Banner matching screenshots */
.cta-banner {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #bfdbfe;
    margin: 50px 0;
}
.cta-banner h2 {
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

/* Location & WhatsApp Find Us Box matching exact screenshots */
.find-us-box {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}
.find-us-box h3 {
    font-weight: 800;
    margin-bottom: 14px;
}
.find-us-box p {
    color: #e0f2fe;
    font-size: 0.95rem;
}
.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-whatsapp:hover {
    background-color: #1eb954;
    color: #ffffff;
}

/* FLOATING WHATSAPP BUTTON (Persistent Widget) */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
}
.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}
.whatsapp-float-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
    background-color: #1eb954;
}
.whatsapp-tooltip {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Map iFrame Container */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 15px;
}
.map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Footer */
footer {
    background-color: #071739;
    color: #94a3b8;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}
footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}
footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}
footer a:hover {
    color: var(--accent);
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .photo-card img {
        height: 300px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}
