/* General Styles */
:root {
    --primary-color: #0F4C75;
    --secondary-color: #3282B8;
    --accent-color: #1E90FF;
    --neutral-color: #BBE1FA;
    --background-color: #F8F9FA;
    --text-color: #333333;
    --glass-effect: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: rgba(31, 38, 135, 0.37);
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 700;
}

a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.uk-button-primary {
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.uk-button-primary:hover {
    background-color: var(--secondary-color);
}

.uk-button-default {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.uk-button-default:hover {
    background-color: var(--primary-color);
    color: white;
}

.uk-button-text {
    color: var(--accent-color);
}

.uk-button-text:hover {
    color: var(--primary-color);
}

.uk-text-lead {
    font-weight: 300;
    color: var(--text-color);
}

/* Glassmorphism Styles */
.glass-card {
    background: var(--glass-effect);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav {
    background: var(--glass-effect);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

/* Header and Navigation */
.uk-navbar-container {
    padding: 10px 0;
}

.uk-navbar-nav > li > a {
    color: var(--text-color);
    font-weight: 500;
    text-transform: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li.uk-active > a {
    color: var(--accent-color);
}

.contact-phone {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-phone i {
    margin-right: 8px;
}

.contact-phone:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.mobile-contact-phone {
    display: flex;
    align-items: center;
    color: var(--background-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-contact-phone i {
    margin-right: 8px;
}

.mobile-contact-phone:hover {
    color: var(--neutral-color);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.8);
    z-index: -1;
}

.hero-section .glass-card {
    padding: 30px;
    max-width: 700px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding-top: 150px;
        padding-bottom: 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* Page Banner */
.page-banner {
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.banner-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.8);
    z-index: -1;
}

.page-banner .glass-card {
    padding: 20px;
    max-width: 700px;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .page-banner {
        height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
}

/* Solutions Section */
.solutions-section {
    background-color: var(--background-color);
}

.solutions-section .uk-card-media-top {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.solutions-section .uk-card-title {
    color: var(--primary-color);
    font-weight: 700;
}

/* Calculator Section */
.calculator-section {
    background-color: #f0f2f5;
    position: relative;
}

.strategy-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
}

.strategy-card h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.strategy-card.conservative {
    border-left: 4px solid #4CAF50;
}

.strategy-card.balanced {
    border-left: 4px solid #2196F3;
}

.strategy-card.aggressive {
    border-left: 4px solid #FF9800;
}

.progress-container {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-top: 5px;
}

.progress-bar {
    height: 100%;
    border-radius: 5px;
    background-color: var(--accent-color);
}

/* Competencies Section */
.competencies-section {
    background-color: var(--primary-color);
}

.competencies-section h2,
.competencies-section h4 {
    color: white;
}

.competencies-section .glass-card {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.counter-value {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* Contact Section */
.contact-section {
    background-color: var(--background-color);
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-link i {
    margin-right: 10px;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Footer Section */
.footer-section {
    background-color: var(--primary-color);
    color: white;
}

.footer-section h4 {
    color: white;
    font-weight: 500;
}

.footer-section ul li a {
    color: var(--neutral-color);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    text-decoration: none;
}

/* Process Section */
.process-section {
    background-color: #f0f2f5;
}

.process-card {
    position: relative;
    padding-top: 40px;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

/* Case Studies Section */
.case-studies-section {
    background-color: var(--primary-color);
    color: white;
}

.case-studies-section h2,
.case-studies-section h3 {
    color: white;
}

.case-studies-section .glass-card {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.case-studies-section .uk-button-default {
    border-color: white;
    color: white;
}

.case-studies-section .uk-button-default:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Contacts Page */
.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.contact-details h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-details p {
    margin: 0;
}

/* Terminology Page */
.terminology-group {
    margin-bottom: 40px;
}

.terminology-group h2 {
    margin-bottom: 20px;
}

/* Thank You Page */
.thank-you-icon {
    font-size: 80px;
    color: var(--accent-color);
    display: inline-block;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    flex-direction: column;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cookie-settings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    z-index: 1001;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-category:last-child {
    border-bottom: none;
}

.category-header {
    margin-bottom: 10px;
}

.category-description {
    font-size: 14px;
    margin: 0;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Hedging Cases Page */
.case-card {
    margin-bottom: 20px;
}

.case-card-header {
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-card-header h3 {
    color: white;
    margin: 0;
}

.case-tags {
    display: flex;
    gap: 5px;
}

.case-tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.2);
}

.case-card-body {
    padding: 20px;
}

.case-metric {
    margin-bottom: 15px;
}

.case-metric-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.case-metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Tool Item */
.tool-item {
    margin-bottom: 20px;
}

.tool-item h4 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tool-item h4 i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* International Telephone Input */
.iti {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 960px) {
    .uk-heading-medium {
        font-size: 2rem;
    }
    
    .uk-text-lead {
        font-size: 1.1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-settings {
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .uk-heading-medium {
        font-size: 1.8rem;
    }
    
    .hero-section .glass-card,
    .page-banner .glass-card {
        padding: 15px;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}