/* css/global.css */

:root {
    --primary-white: #ffffff;
    --secondary-black: #0a0a0a;
    
    /* UPDATED BRANDING COLORS */
    --brand-blue: #0561C0;      /* Main Site Color */
    --brand-green: #2ecc71;     /* Verified Badge Color */
    
    /* Mapping your old variable to new blue to update site instantly */
    --accent-neon: #0561C0;     
    
    --text-dark: #1f1f1f;
    --text-light: #f4f4f4;
    --gray-light: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-card: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-neon: 0 0 15px rgba(5, 97, 192, 0.4);
    --border-radius-lg: 30px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { background-color: var(--primary-white); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-gray { background-color: var(--gray-light); }
.text-neon { color: var(--brand-blue); }
.text-center { text-align: center; }
.rounded-btn { border-radius: var(--border-radius-lg) !important; }
.rounded-img { border-radius: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ls-2 { letter-spacing: 2px; text-transform: uppercase; font-weight: 700; font-size: 0.9rem; }
.section-title { font-size: 2.5rem; margin-bottom: 25px; line-height: 1.3; font-weight: 800; }

/* BUTTONS */
.btn { display: inline-block; padding: 12px 35px; font-weight: 700; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-align: center; }

/* Main Blue Button */
.btn-neon { background-color: var(--brand-blue); color: #fff; }
.btn-neon:hover { background-color: var(--secondary-black); color: #fff; box-shadow: var(--shadow-neon); }

/* Outline Button */
.btn-outline { border-color: var(--brand-blue); color: var(--brand-blue); background: transparent; }
.btn-outline:hover { background-color: var(--brand-blue); color: #fff; }

/* NEW: "Get Listed" Button (White Inner, Blue Border) */
.btn-listed { 
    background-color: #fff; 
    color: var(--brand-blue); 
    border: 2px solid var(--brand-blue);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-listed:hover {
    background-color: var(--brand-blue);
    color: #fff;
}

.btn-sm { padding: 10px 25px; font-size: 0.9rem; }

/* --- PROFESSIONAL OUTLINE BADGE --- */
.verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between tick and text */
    padding: 6px 18px; 
    border-radius: 50px; /* Pill shape */
    font-size: 0.85rem; 
    font-weight: 800; 
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #fff; /* Clean white background */
    border: 2px solid; /* Border inherits the text color set in PHP */
    vertical-align: middle;
    margin-left: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Subtle lift */
}

/* Optional: Add a slight hover effect */
.verified-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* HEADER & NAV */
header { background: var(--primary-white); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); height: 90px; display: flex; align-items: center; }
.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 24px; font-weight: 900; color: var(--secondary-black); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.header-logo-img { height: 50px; width: auto; }
.logo-text { font-size: 24px; font-weight: 900; color: var(--secondary-black); line-height: 1; }
.logo-text span { color: var(--brand-blue); }
nav { flex-grow: 1; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 14px; text-transform: uppercase; color: var(--secondary-black); }
.nav-links a:hover, .nav-links a.active { color: var(--brand-blue); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.hamburger { display: none; cursor: pointer; }

/* DROPDOWN */
.nav-item-dropdown { position: relative; cursor: pointer; }
.country-btn { display: flex; align-items: center; font-weight: 600; font-size: 14px; }
.country-dropdown { position: absolute; top: 100%; left: -20px; width: 180px; background: white; box-shadow: var(--shadow-card); border-radius: 10px; padding: 10px; opacity: 0; visibility: hidden; transition: var(--transition); transform: translateY(10px); }
.nav-item-dropdown:hover .country-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.country-link { display: flex !important; align-items: center; padding: 8px 10px; text-transform: none !important; border-radius: 5px; }
.country-link:hover { background: var(--gray-light); color: var(--secondary-black) !important;}
.flag-icon { width: 20px; margin-right: 10px; }

/* FOOTER */
footer { background: var(--secondary-black); color: #aaa; padding: 100px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-logo-container { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 25px; }
.footer-logo-img { height: 75px; width: auto; margin-bottom: 10px; }
.footer-logo-text { font-size: 30px; font-weight: 900; color: white; text-transform: uppercase; line-height: 1; }
.footer-logo-text span { color: var(--brand-blue); }
.footer-desc { margin-bottom: 30px; max-width: 400px; }
.contact-list li { margin-bottom: 15px; display: flex; align-items: center; color: white; }
.contact-list li i { color: var(--brand-blue); margin-right: 15px; width: 20px; }
.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.1rem; letter-spacing: 1px; }
.footer-links li { margin-bottom: 15px; }
.footer-links a:hover { color: var(--brand-blue); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; font-size: 0.9rem; }
.legal-links a { margin-left: 30px; }
.legal-links a:hover { color: var(--brand-blue); }
.social-icons { display: flex; gap: 15px; margin-top: 30px; align-items: center; }
.social-icons a { background: transparent !important; width: auto !important; height: auto !important; border-radius: 0 !important; padding: 0; display: inline-block; transition: transform 0.3s ease; }
.custom-social-icon { width: 36px; height: 36px; object-fit: contain; display: block; }
.social-icons a:hover { transform: scale(1.15); background: transparent !important; }

/* PAGE HERO */
.page-hero-section { padding-top: 140px; padding-bottom: 20px; }
.page-hero {
    background-color: var(--secondary-black);
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid var(--brand-blue);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.hero-inner-content h1 { font-size: 3.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.hero-inner-content p { font-size: 1.2rem; color: #ccc; font-weight: 300; }

/* TABS NAVIGATION */
.tabs-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.tab-btn { padding: 15px 30px; background: white; border: 2px solid #eee; border-radius: 50px; font-weight: 700; color: #666; cursor: pointer; transition: var(--transition); }
.tab-btn:hover, .tab-btn.active { border-color: var(--brand-blue); color: var(--secondary-black); background: #f0f8ff; }
.tab-pane { display: none; opacity: 0; transition: opacity 0.5s ease; }
.tab-pane.active { display: grid; opacity: 1; }
.tab-text h2 { font-size: 2.5rem; margin-bottom: 25px; line-height: 1.3; }
.tab-text p { margin-bottom: 35px; font-size: 1.1rem; color: #666; }

/* RESPONSIVE NAV */
@media (max-width: 768px) {
    .hamburger { display: block; color: var(--secondary-black); font-size: 24px; }
    .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background: var(--secondary-black); transition: 0.3s; }
    nav { position: fixed; top: 90px; left: -100%; width: 100%; background: white; flex-direction: column; padding: 30px; transition: 0.4s; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    nav.active { left: 0; }
    .nav-links { flex-direction: column; gap: 20px; }
    .header-actions .btn { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: var(--secondary-black); color: white; padding: 20px 0; z-index: 99999; transition: bottom 0.5s ease-in-out; box-shadow: 0 -5px 20px rgba(0,0,0,0.3); }
.cookie-banner.active { bottom: 0; }
.cookie-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cookie-content p { margin: 0; font-size: 0.95rem; }

/* NEWS CARDS */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; display: flex; flex-direction: column; height: 100%; border: 1px solid #eee; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.news-img-wrap { position: relative; height: 220px; width: 100%; overflow: hidden; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img-wrap img { transform: scale(1.05); }
.date-badge { position: absolute; top: 15px; right: 15px; background: rgba(255, 255, 255, 0.95); color: var(--secondary-black); padding: 5px 12px; font-size: 0.75rem; font-weight: 800; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.news-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-body h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 12px; }
.news-body h3 a { text-decoration: none; color: var(--secondary-black); transition: color 0.3s; }
.news-body h3 a:hover { color: var(--brand-blue); }
.news-desc { font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.read-more-btn { display: inline-block; color: var(--secondary-black); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-top: auto; padding-bottom: 2px; border-bottom: 2px solid var(--brand-blue); width: fit-content; }
.read-more-btn:hover { color: var(--brand-blue); border-bottom-color: var(--secondary-black); }

@media (max-width: 992px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .cookie-content { flex-direction: column; text-align: center; } }

/* --- RESPONSIVE MENU BUTTON LOGIC --- */

/* 1. DESKTOP VIEW (Default) */
.mobile-only-btn {
    display: none; /* Hide the menu button on big screens */
}

/* 2. MOBILE VIEW */
@media (max-width: 768px) {
    /* Hide the top header button */
    .desktop-only-btn {
        display: none !important;
    }

    /* Show the list item in the menu */
    .mobile-only-btn {
        display: block;
        margin-top: 20px;
    }

    /* Style the button inside the mobile menu */
    .btn-mobile-nav {
        display: block;
        text-align: center;
        background-color: var(--brand-blue);
        color: white !important;
        padding: 12px;
        border-radius: 50px;
        font-weight: 800;
        text-transform: uppercase;
        width: 100%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}