/* ========================================
   CSS VARIABLES & BASE STYLES
   Shared across all pages
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary: #0052CC;
    --primary-light: #2684FF;
    --primary-dark: #003D99;
    --secondary: #00C7BE;
    --accent: #FF5722;
    --success: #00C853;
    --warning: #FF9800;
    --error: #F44336;
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --black: #000000;
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    text-align: center;
}

.loader-inner {
    position: relative;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-lg);
}

.loader-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loaded #loading-screen {
    opacity: 0;
    visibility: hidden;
}

/* ========================================
   HEADER & FOOTER STYLES
   Shared across all pages
   ======================================== */

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    transform: translateY(0);
}

.header.hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Logo */
.logo-img {
    max-height: 52px;
    width: auto;
    transition: opacity var(--transition-base);
}

.logo-img:hover {
    opacity: 0.8;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-desktop {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-2xl);
    align-items: center;
}

/* Add left margin to first nav item so it doesn't touch logo */
.nav-menu > li:first-child {
    margin-left: var(--space-2xl);
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 100%;
}

/* News Link with Gradient Effect */
.nav-link.news-link {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
}

.nav-link.news-link::after {
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
}

.nav-link.news-link:hover {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   DROPDOWN MENU
   ======================================== */

.dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);  /* Changed: Start at 0 */
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    padding: var(--space-xl);
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);  /* Removed transform transition */
    z-index: var(--z-dropdown);
    list-style: none;
    /* margin-top removed */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding-top: var(--space-lg);  /* Add padding instead to create visual space */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Dropdown Category Headers */
.dropdown-category {
    display: flex;
    flex-direction: column;
}

.dropdown-category-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
}

.dropdown-category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.dropdown-menu li {
    margin-bottom: 0;
}

.dropdown-menu a {
    color: var(--gray-700);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--transition-fast);
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(4px);
}

.dropdown-menu a i {
    font-size: 0.875rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.dropdown-menu a:hover i {
    opacity: 1;
}

/* ========================================
   LANGUAGE SELECTOR
   ======================================== */

.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-current {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.language-current:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-current .flag-emoji {
    font-size: 1.1em;
    line-height: 1;
}

.language-current .chevron {
    font-size: 0.65rem;
    margin-left: 2px;
    transition: transform var(--transition-base);
}

.language-selector:hover .language-current .chevron {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-sm);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
    list-style: none;
}

.language-selector:hover .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-btn {
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    text-align: left;
}

.language-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.language-btn.active {
    background: var(--primary-light);
    color: var(--white);
    font-weight: 600;
}

.language-btn .flag-emoji {
    font-size: 1.1em;
    line-height: 1;
}

/* ========================================
   HEADER ACTIONS
   ======================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.phone-btn {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.phone-btn span {
    display: inline;
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-mobile {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-menu {
    list-style: none;
    padding: var(--space-lg);
}

.nav-mobile-menu li {
    margin-bottom: var(--space-md);
}

.nav-mobile-menu a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-mobile-menu a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Mobile Language Selector */
.mobile-language-selector {
    padding: var(--space-lg);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.mobile-language-selector .language-btn {
    color: var(--gray-700);
    background: var(--gray-100);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
}

.mobile-language-selector .language-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .footer-logo {
    margin-bottom: var(--space-lg);
}

/* Make logo clickable */
.footer-logo a {
    display: inline-block;
    transition: opacity var(--transition-base);
}

.footer-logo a:hover {
    opacity: 0.8;
}

.footer-logo-img {
    max-height: 38px;
    width: auto;
    opacity: 0.9;
}

.footer-description {
    color: var(--gray-400);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: var(--space-lg);
    padding-left: 28px; /* Align with text content below, accounting for icon width + gap */
}

/* Remove padding for sections without icons */
.footer-services h4,
.footer-section:not(:has(.footer-contact)) h4 {
    padding-left: 0;
}

/* Services Section with Simple Two-Column Layout */
.footer-services {
    grid-column: span 1;
}

.footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.footer-services-grid ul {
    list-style: none;
}

.footer-services-grid li {
    margin-bottom: var(--space-sm);
}

.footer-services-grid a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-services-grid a:hover {
    color: var(--white);
}

/* Regular footer sections */
.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--white);
}

/* Contact Section with Aligned Address */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--gray-400);
}

.footer-contact-item i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Address-specific styling - icon centered vertically */
.footer-contact-item.footer-address {
    align-items: center;
}

.footer-contact-item.footer-address span {
    display: block;
    line-height: 1.6;
}

.footer-contact-item a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: var(--space-sm);
    color: var(--gray-400);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--space-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large desktops - Full layout */
@media (min-width: 1200px) {
    .nav-desktop {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .phone-btn {
        display: flex;
    }
    
    .phone-btn span {
        display: inline;
    }
    
    .header-container {
        padding: 0 var(--space-2xl);
    }
}

/* Medium desktops - Icon-only phone */
@media (min-width: 1024px) and (max-width: 1199px) {
    .nav-desktop {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .phone-btn {
        display: flex;
        padding: var(--space-sm) var(--space-md);
    }
    
    .phone-btn span {
        display: none;
    }
    
    .header-container {
        padding: 0 var(--space-lg);
    }
    
    .nav-menu {
        gap: var(--space-lg);
    }
    
    .nav-menu > li:first-child {
        margin-left: var(--space-lg);
    }
}

/* Tablets - Hide phone */
@media (min-width: 900px) and (max-width: 1023px) {
    .nav-desktop {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .phone-btn {
        display: none;
    }
    
    .header-container {
        padding: 0 var(--space-lg);
    }
    
    .nav-menu {
        gap: var(--space-md);
    }
    
    .nav-menu > li:first-child {
        margin-left: var(--space-md);
    }
    
    .dropdown-menu {
        min-width: 500px;
        padding: var(--space-lg);
        gap: var(--space-lg);
    }
}

/* Mobile - Switch to hamburger menu */
@media (max-width: 899px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .phone-btn {
        display: none;
    }
    
    .header-container {
        padding: 0 var(--space-md);
    }
    
    .dropdown-menu {
        grid-template-columns: 1fr;
        min-width: 280px;
        left: 0;
        transform: translateY(-10px);
    }
    
    .dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
    
    .language-selector {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .header-container {
        padding: 0 var(--space-sm);
    }
    
    .logo-img {
        max-height: 42px;
    }
}

/* Dropdown centering adjustments */
@media (max-width: 1199px) {
    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 899px) {
    .dropdown-menu {
        left: 0;
        transform: translateY(-10px);
    }
    
    .dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ====================================
   KLARO COOKIE BANNER - PROFESSIONAL STYLING (ENHANCED)
   ==================================== */

/* Cookie notice container - bottom right positioning */
.klaro .cookie-notice,
#klaro .cookie-notice {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    max-width: 420px !important;
    width: calc(100% - 40px) !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 24px !important;
    z-index: 10000 !important;
    border: 1px solid #e5e7eb !important;
}

/* Cookie modal styling */
.klaro .cookie-modal,
#klaro .cookie-modal {
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    max-width: 600px !important;
    border: 1px solid #e5e7eb !important;
}

.klaro .cookie-modal .cm-header,
#klaro .cookie-modal .cm-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 24px !important;
}

.klaro .cookie-modal .cm-body,
#klaro .cookie-modal .cm-body {
    padding: 24px !important;
    background: #ffffff !important;
}

.klaro .cookie-modal .cm-footer,
#klaro .cookie-modal .cm-footer {
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 20px 24px !important;
}

/* Title styling */
.klaro .cookie-notice .cn-title,
.klaro .cookie-modal .cm-header h1,
#klaro .cookie-notice .cn-title,
#klaro .cookie-modal .cm-header h1,
.klaro .cn-title,
#klaro .cn-title {
    color: #1a1a1a !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    font-family: var(--font-primary) !important;
}

/* Description text */
.klaro .cookie-notice .cn-body,
.klaro .cookie-modal .cm-body,
#klaro .cookie-notice .cn-body,
#klaro .cookie-modal .cm-body,
.klaro .cn-body,
#klaro .cn-body {
    color: #4b5563 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    font-family: var(--font-primary) !important;
}

/* ALL BUTTON BASE STYLES - Maximum specificity */
.klaro button,
#klaro button,
.klaro .cm-btn,
#klaro .cm-btn,
.klaro .cookie-notice button,
#klaro .cookie-notice button,
.klaro .cn-buttons button,
#klaro .cn-buttons button,
.klaro .cookie-modal button,
#klaro .cookie-modal button {
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: var(--font-primary) !important;
    text-transform: none !important;
    margin: 0 !important;
}

/* PRIMARY BUTTON - Accept All (DIGAL Blue) */
.klaro .cm-btn-success,
#klaro .cm-btn-success,
.klaro button.cm-btn-success,
#klaro button.cm-btn-success,
.klaro .cn-buttons .cm-btn-success,
#klaro .cn-buttons .cm-btn-success,
.klaro .cn-buttons button[class*="success"],
#klaro .cn-buttons button[class*="success"] {
    background-color: #1863DC !important;
    color: #ffffff !important;
}

.klaro .cm-btn-success:hover,
#klaro .cm-btn-success:hover,
.klaro button.cm-btn-success:hover,
#klaro button.cm-btn-success:hover {
    background-color: #1552b8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(24, 99, 220, 0.3) !important;
}

/* SECONDARY BUTTON - Learn More / Customize (Gray) */
.klaro .cm-btn-info,
#klaro .cm-btn-info,
.klaro button.cm-btn-info,
#klaro button.cm-btn-info,
.klaro .cn-buttons .cm-btn-info,
#klaro .cn-buttons .cm-btn-info,
.klaro .cn-buttons button[class*="info"],
#klaro .cn-buttons button[class*="info"] {
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
}

.klaro .cm-btn-info:hover,
#klaro .cm-btn-info:hover,
.klaro button.cm-btn-info:hover,
#klaro button.cm-btn-info:hover {
    background-color: #e5e7eb !important;
    color: #1a1a1a !important;
}

/* ACCEPT/SAVE BUTTON (in modal) */
.klaro .cm-btn-accept,
#klaro .cm-btn-accept,
.klaro button.cm-btn-accept,
#klaro button.cm-btn-accept {
    background-color: #1863DC !important;
    color: #ffffff !important;
}

.klaro .cm-btn-accept:hover,
#klaro .cm-btn-accept:hover {
    background-color: #1552b8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(24, 99, 220, 0.3) !important;
}

/* DECLINE BUTTON */
.klaro .cm-btn-decline,
#klaro .cm-btn-decline,
.klaro button.cm-btn-decline,
#klaro button.cm-btn-decline {
    background-color: transparent !important;
    color: #6b7280 !important;
    border: 1px solid #d1d5db !important;
}

.klaro .cm-btn-decline:hover,
#klaro .cm-btn-decline:hover {
    background-color: #f9fafb !important;
    border-color: #9ca3af !important;
    color: #4b5563 !important;
}

/* DANGER/REJECT BUTTON */
.klaro .cm-btn-danger,
#klaro .cm-btn-danger,
.klaro button.cm-btn-danger,
#klaro button.cm-btn-danger {
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
}

.klaro .cm-btn-danger:hover,
#klaro .cm-btn-danger:hover {
    background-color: #e5e7eb !important;
    color: #1a1a1a !important;
}

/* Button layout */
.klaro .cookie-notice .cn-buttons,
#klaro .cookie-notice .cn-buttons,
.klaro .cn-buttons,
#klaro .cn-buttons {
    display: flex !important;
    gap: 12px !important;
    margin-top: 16px !important;
    flex-wrap: wrap !important;
}

/* Link styling */
.klaro a,
#klaro a {
    color: #1863DC !important;
    text-decoration: none !important;
}

.klaro a:hover,
#klaro a:hover {
    text-decoration: underline !important;
}

/* Switch/toggle styling */
.klaro .switch,
#klaro .switch {
    background-color: #d1d5db !important;
}

.klaro .switch.checked,
#klaro .switch.checked {
    background-color: #1863DC !important;
}

.klaro .slider,
#klaro .slider {
    background-color: #ffffff !important;
}

/* Service items */
.klaro .cookie-modal .cm-service,
#klaro .cookie-modal .cm-service {
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
}

.klaro .cookie-modal .cm-service:hover,
#klaro .cookie-modal .cm-service:hover {
    border-color: #d1d5db !important;
    background: #f9fafb !important;
}

/* Service title */
.klaro .cm-service .cm-service-title,
#klaro .cm-service .cm-service-title {
    color: #1a1a1a !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* Service description */
.klaro .cm-service .cm-service-description,
#klaro .cm-service .cm-service-description {
    color: #6b7280 !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

/* Required badge */
.klaro .cm-service .cm-required,
#klaro .cm-service .cm-required {
    background-color: #fef3c7 !important;
    color: #92400e !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Close button */
.klaro .cookie-modal .cm-header .cm-close,
#klaro .cookie-modal .cm-header .cm-close {
    color: #6b7280 !important;
    font-size: 24px !important;
    opacity: 0.6 !important;
}

.klaro .cookie-modal .cm-header .cm-close:hover,
#klaro .cookie-modal .cm-header .cm-close:hover {
    opacity: 1 !important;
    color: #1a1a1a !important;
}

/* Overlay */
.klaro .cookie-modal-backdrop,
#klaro .cookie-modal-backdrop {
    background: rgba(0, 0, 0, 0.5) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .klaro .cookie-notice,
    #klaro .cookie-notice {
        bottom: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        padding: 20px !important;
    }
    
    .klaro .cookie-modal,
    #klaro .cookie-modal {
        max-width: calc(100% - 40px) !important;
        margin: 20px !important;
    }
    
    .klaro .cookie-notice .cn-buttons,
    #klaro .cookie-notice .cn-buttons {
        flex-direction: column !important;
    }
    
    .klaro .cookie-notice .cn-buttons button,
    #klaro .cookie-notice .cn-buttons button {
        width: 100% !important;
    }
}

/* Print media - hide cookie banner */
@media print {
    .klaro .cookie-notice,
    .klaro .cookie-modal,
    .klaro .cookie-modal-backdrop,
    #klaro .cookie-notice,
    #klaro .cookie-modal,
    #klaro .cookie-modal-backdrop {
        display: none !important;
    }
}