:root {
  --primary-color: #00A99D; /* Vibrant Teal */
  --secondary-color: #2C3E50; /* Deep Charcoal */
  --accent-color: #3498DB; /* Electric Blue */
  --background-dark: #22252A; /* Darkly Theme BG */
  --background-light: #F8F9FA;
  --text-light: #ECF0F1;
  --text-dark: #212529;
  --card-bg: #2a2d34;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-family: 'Manrope', sans-serif;
  --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  --gradient-hero: linear-gradient(135deg, var(--secondary-color) 0%, #1a2533 100%);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Animated Background */
#animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-hero);
    opacity: 0.5;
}

#animated-bg::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 169, 157, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.15) 0%, transparent 30%);
    animation: floating-shapes 30s infinite linear;
}

@keyframes floating-shapes {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(25%, 25%) rotate(360deg); }
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background-color: rgba(34, 37, 42, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
}
.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.hero-title {
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.custom-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 169, 157, 0.3);
}
.custom-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 169, 157, 0.5);
}

/* General Sections */
section {
    padding: 80px 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.section-subtitle {
    color: var(--bs-secondary-color);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}
.section-divider {
    height: 100px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
}

/* Service Cards */
.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.service-card .card-title {
    color: var(--text-light);
}
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.8rem;
}
.icon-circle-sm {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.4rem;
}
.icon-circle-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 2.5rem;
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
}
.page-title {
    font-size: 3.5rem;
    font-weight: 800;
}

/* Accordion */
.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}
.accordion-button {
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-weight: 500;
}
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Legal Text Page */
.legal-text h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.form-control {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 12px 15px;
}
.form-control:focus {
    background-color: var(--card-bg);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 169, 157, 0.25);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--bs-secondary-color);
}
.footer-heading {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-links li a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links li a:hover {
    color: var(--primary-color);
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}
.footer-contact a {
    color: var(--bs-secondary-color);
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--primary-color);
}
.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}
.footer-copy {
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
    z-index: 1050;
    display: none; /* Initially hidden */
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
#cookie-consent-banner p {
    margin: 0;
    flex-grow: 1;
}
#cookie-consent-banner a {
    color: var(--primary-color);
}
.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Cookie Settings Modal */
.cookie-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1055;
    display: none; /* Initially hidden */
}
#cookie-settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: var(--card-bg);
    color: var(--text-light);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 1060;
    display: none; /* Initially hidden */
}
.cookie-modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cookie-modal-body {
    padding: 1.5rem;
}
.cookie-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}
.cookie-category {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}
.cookie-category:last-child {
    border-bottom: none;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom Switch for Cookie Modal */
.form-switch .form-check-input {
    background-color: var(--secondary-color);
    border-color: rgba(255,255,255,0.25);
}
.form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}