
:root {
    /* --- Brand Base Colors --- */
    --primary-color: #012f60;   /* Brand Blue */
    --accent-color: #e3aa1d;    /* Brand Yellow Base */
    --dark-blue-strip: #001f40; 
    --light-bg: #f8f9fa;
    
    /* --- Premium Gradients Map (From Euroaccess Color Grading) --- */
    /* The deep, rich blue vignette background with lighting depth */
    --blue-gradient-bg: radial-gradient(circle, #0c3b6e 0%, #012f60 70%, #001a36 100%);
    
    /* The rich metallic gold gradient matching the polished lettering */
    --gold-metallic-gradient: linear-gradient(135deg, #c59325 0%, #f9d976 35%, #e3aa1d 60%, #b28018 85%, #91650c 100%);
    
    /* Unified Chat Widget Colors */
    --chat-sms: #1cd2ad;
    --chat-messenger: #007fff;
}

.bg-primary-custom { background-color: var(--primary-color); }
.bg-dark-blue-custom { background-color: var(--dark-blue-strip); }
.text-primary-custom { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }

/* ==========================================================================
    ADVANCED METALLIC TEXT GRADIENT EFFECT
    ========================================================================== */
.text-metallic-gold {
    background: var(--gold-metallic-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.15));
    display: inline-block;
}

/* Premium Graded Action Button */
.btn-accent {
    background: var(--gold-metallic-gradient);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}
.btn-accent:hover {
    filter: brightness(1.08);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(145, 101, 12, 0.35);
}

.hero-section {
    background: linear-gradient(rgba(1, 47, 96, 0.9), rgba(1, 47, 96, 0.9)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1200') no-repeat center center/cover;
    color: white;
    padding: 120px 0;
}

/* Service Cards Styling */
.service-card {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(1, 47, 96, 0.08);
}

/* ==========================================================================
    MATCHING CIRCULAR SERVICE ICON GRADING FROM image_76383e.png
    ========================================================================== */
.icon-box-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--blue-gradient-bg);
    border: 2px solid #c59325; /* Sleek gold border border framing */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Metallic Gold Gradient styling for the icon glyphs inside */
.icon-box i {
    font-size: 2.3rem;
    background: var(--gold-metallic-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    display: inline-block;
}

/* Subtle interactive response on hover */
.service-card:hover .icon-box {
    transform: scale(1.05);
    border-color: #f9d976;
}

/* Top navigation link emphasis styles */
.navbar-light .navbar-nav .nav-link {
    color: var(--primary-color) !important;
    display: inline-flex;
    align-items: center;
}
.navbar-light .navbar-nav .nav-link.active {
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
}

/* Graded Square EA Logo Badge Container */
.custom-logo-box {
    background: var(--blue-gradient-bg);
    border: 1.5px solid #e3aa1d;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Custom Graded Facebook Badge Container */
.fb-icon-container {
    background: var(--gold-metallic-gradient);
    color: #ffffff;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 3px rgba(0,0,0,0.1);
}

/* ==========================================================================
    FLOATING MESSAGE BUTTON SYSTEM
    ========================================================================== */
.floating-chat-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#chat-toggle {
    display: none;
}

/* Main Circular Action Trigger with Metallic Gold Color Grading */
.chat-trigger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-metallic-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.chat-trigger-btn .bi-x-lg {
    display: none;
    font-size: 1.5rem;
}

/* Popout Menu Panel Container */
.chat-options-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Individual Platform Buttons */
.chat-sub-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    font-size: 1.5rem;
}

.chat-sub-btn:hover {
    transform: scale(1.08);
    color: white;
}

.chat-sub-btn.sms { background-color: var(--chat-sms); font-size: 0.85rem; font-weight: 700; }
.chat-sub-btn.messenger { background-color: var(--chat-messenger); }

/* CSS Logic State Toggle Interactions */
#chat-toggle:checked ~ .chat-options-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#chat-toggle:checked ~ .chat-trigger-btn {
    transform: rotate(90deg);
    background: var(--gold-metallic-gradient);
}

#chat-toggle:checked ~ .chat-trigger-btn .bi-chat-dots-fill {
    display: none;
}

#chat-toggle:checked ~ .chat-trigger-btn .bi-x-lg {
    display: block;
}


/* Color Palette variables matching image_5b6600.png & image_5b65df.png */
.chat-sub-btn.sms {
    background-color: #1ecea3 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.chat-sub-btn.sms:hover {
    transform: scale(1.08);
}

.chat-sub-btn.messenger {
    background-color: #0084ff !important;
}

/* Modal configuration overlay adjustment */
#smsModal {
    z-index: 1060; /* Ensures the contact box loads smoothly in front of the chat toggle mechanics */
}

#smsModal .btn-close:focus {
    box-shadow: none;
}

/* Optional styling to fit text alignments inside raw icons */
.chat-sub-btn i {
    line-height: 0;
}


/* Parallax */
/* Core Parallax Window Setup */
.parallax-window {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 0px;
    background-attachment: scroll; /* Handled smoothly via JS transition logic */
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: background-position 0.05s linear;
}

/* Semi-transparent tint overlay layers guaranteeing text legibility */
.parallax-overlay {
    width: 100%;
    height: 100%;
    /* Dark gray gradient overlay */
    background: linear-gradient(135deg, rgba(26, 38, 57, 0.88) 0%, rgba(15, 23, 36, 0.75) 100%);
}

/* Specific customization rules for the contact container block over parallax */
#contact.parallax-window {
    background-position: center center;
}
#contact .parallax-overlay {
    /* Slightly lighter opacity tint layer so inner card pops out nicely */
    background: rgba(15, 23, 36, 0.45);
}
/* End Parallax */

/* Widgets (Whatsapp, Messenger, Viber, Email) */
        /* WhatsApp Button */
.chat-sub-btn.whatsapp{
    background:#25D366;
}

/* Popup */
.whatsapp-popup{
    position:fixed;
    bottom:110px;
    right:25px;
    width:320px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.2);

    opacity:0;
    visibility:hidden;

    transform:translateY(30px) scale(.9);

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s;
        
    z-index:9999;
}

.whatsapp-popup.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0) scale(1);
}

.whatsapp-header{
    background:#25D366;
    color:#fff;
    padding:14px 18px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    font-weight:600;
}

.whatsapp-header button{
    border:none;
    background:none;
    color:#fff;
    font-size:18px;
}

.whatsapp-body{
    padding:20px;
    background:#ece5dd;
}

.wa-message{
    background:#fff;
    padding:12px 14px;
    border-radius:12px;
    display:inline-block;
    max-width:85%;
    animation:fadeInUp .5s ease;
}

.whatsapp-footer{
    padding:15px;
    background:#fff;
}

@keyframes fadeInUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* Mobile */
@media(max-width:576px){
    .whatsapp-popup{
        width:90%;
        right:5%;
        bottom:100px;
    }
}

.chat-sub-btn.viber{
    background: #7360F2;
    color: #fff;
}

.chat-sub-btn.viber:hover{
    background: #6655d8;
    color: #fff;
}

/* Email Button */
.chat-sub-btn.email {
    background: #D44638; /* Gmail-style red */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Hover effect */
.chat-sub-btn.email:hover {
    background: #b93b2e;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Icon styling (optional consistency) */
.chat-sub-btn.email i {
    font-size: 18px;
}
/* End widgets */

/* Justify Text */
.justify-text {
    text-align: justify;
    word-spacing: -2px;
    line-height: 1.6;
}
/* End */