/*
  style.css
  Theme:  Service
  Design System: Futuristic, Block-based interface
  Color Scheme: Tetrad
  Animation Style: Non-linear movements
*/

/* ---------------------------------- */
/* --- CSS VARIABLES & ROOT SETUP --- */
/* ---------------------------------- */
:root {
  /* Tetrad Color Scheme */
  --primary-color: #1B998B; /* Vibrant Teal/Green */
  --primary-color-dark: #137a6e;
  --secondary-color: #ED217C; /* Striking Magenta/Pink */
  --accent-color-1: #AEF359; /* Bright Lime Green */
  --accent-color-2: #7D1D3F; /* Deep Claret/Purple */

  /* Neutral & Background Colors */
  --dark-bg: #0D1B2A; /* Dark Blue/Charcoal */
  --light-bg: #F0F4F8; /* Light Off-White/Blue */
  --text-dark: #1A202C; /* Dark Charcoal for light backgrounds */
  --text-light: #E0E1DD; /* Off-White for dark backgrounds */
  --border-color: #3a4a5b;

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------------------------------- */
/* --- BASE & TYPOGRAPHY STYLES --- */
/* ---------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-size: 100%; /* 16px */
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Legal & Static Pages Content Padding */
.legal-page-content, .contacts-page-content, .success-page-content {
  padding-top: 120px; /* Offset for fixed header */
  padding-bottom: 60px;
  background-color: var(--light-bg);
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.section .title:not(.hero-title),
.section .subtitle:not(.hero-subtitle) {
  color: var(--text-dark);
}

.has-background-light .title,
.has-background-light .subtitle {
  color: var(--text-dark);
}

section.section {
    padding: 4rem 1.5rem;
}

@media screen and (min-width: 769px) {
    section.section {
        padding: 6rem 1.5rem;
    }
}

a {
  color: var(--primary-color);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-color-dark);
}

.content ul {
    list-style-position: inside;
}

/* ---------------------------------- */
/* --- HEADER & NAVIGATION --- */
/* ---------------------------------- */
.header.is-fixed-top {
  background-color: rgba(13, 27, 42, 0.85); /* Semi-transparent dark bg */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.navbar-item, .navbar-link {
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 600;
  transition: var(--transition-fast);
}

.navbar-item:hover, .navbar-item.is-active {
  background-color: transparent !important;
  color: var(--primary-color) !important;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-light) !important;
}

/* Burger Menu */
.navbar-burger {
    color: var(--text-light);
}
.navbar-burger span {
    background-color: var(--text-light);
    height: 2px;
}
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--dark-bg);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
}

/* ---------------------------------- */
/* --- GLOBAL BUTTON STYLES --- */
/* ---------------------------------- */
.button.is-primary.futuristic-button {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2em 2.5em;
    line-height: 1;
}

.button.is-primary.futuristic-button:hover {
    background: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 153, 139, 0.2);
}

.button.is-outlined.is-primary.futuristic-button {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.button.is-outlined.is-primary.futuristic-button:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

/* ---------------------------------- */
/* --- HERO SECTION --- */
/* ---------------------------------- */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #FFFFFF !important; /* IMPORTANT */
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #FFFFFF !important; /* IMPORTANT */
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* ---------------------------------- */
/* --- CARD COMPONENTS (Global) --- */
/* ---------------------------------- */
.card.futuristic-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.card.futuristic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card .card-image {
    width: 100%;
}
.card .card-image img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area without distortion */
    display: block;
}

.card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.card .card-content .title, .card .card-content .subtitle {
    color: var(--text-dark);
}
.card .card-content .button {
    margin-top: auto; /* Pushes button to the bottom */
}


/* ---------------------------------- */
/* --- SUCCESS STORIES (TIMELINE) --- */
/* ---------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 25px;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 25px;
    text-align: left;
}
.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    top: 25px;
    background-color: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 6px;
}
.timeline-content .title {
    margin-top: 10px;
}
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-marker, .timeline-item:nth-child(even) .timeline-marker {
        left: 15px;
    }
}


/* ---------------------------------- */
/* --- STATS WIDGETS --- */
/* ---------------------------------- */
.stats-widgets {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.stat-widget {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-bg);
    border-left: 5px solid var(--primary-color);
}
.stat-widget .title {
    font-size: 3.5rem;
    color: var(--primary-color);
}
.stat-widget .subtitle {
    color: var(--text-dark);
}

/* ---------------------------------- */
/* --- PRICING SECTION --- */
/* ---------------------------------- */
.pricing-card {
    text-align: center;
    border: 2px solid transparent;
}
.pricing-card.is-featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.pricing-card .price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}
.pricing-card .price-unit {
    font-size: 1rem;
    color: #7a7a7a;
}
.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}
.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* ---------------------------------- */
/* --- PARTNERS SECTION --- */
/* ---------------------------------- */
#partners img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}
#partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---------------------------------- */
/* --- EXTERNAL RESOURCES --- */
/* ---------------------------------- */
.resource-list {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.resource-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.resource-item:last-child {
  border-bottom: none;
}
.resource-item h3 a {
  color: var(--primary-color);
  text-decoration: none;
}
.resource-item h3 a:hover {
  text-decoration: underline;
}
.resource-item p {
  color: #555;
  margin-top: 0.5rem;
}

/* ---------------------------------- */
/* --- FAQ SECTION (ACCORDION) --- */
/* ---------------------------------- */
.faq-accordion details {
  background: #fff;
  border-radius: 5px;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
}
.faq-accordion summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
}
.faq-accordion summary::-webkit-details-marker {
  display: none;
}
.faq-accordion summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--primary-color);
}
.faq-accordion details[open] summary::after {
  transform: rotate(45deg);
}
.faq-accordion details p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin: 0;
}

/* ---------------------------------- */
/* --- CONTACT FORM --- */
/* ---------------------------------- */
.contact-form {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 8px;
}
.contact-form .label {
  color: var(--text-dark);
  font-weight: 600;
}
.contact-form .input, .contact-form .textarea {
  border-radius: 5px;
  border-color: #dbdbdb;
  transition: var(--transition-smooth);
}
.contact-form .input:focus, .contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125em rgba(27, 153, 139, 0.25);
}

/* ---------------------------------- */
/* --- FOOTER --- */
/* ---------------------------------- */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 3rem 1.5rem;
}
.footer .title {
  color: var(--text-light);
}
.footer .subtitle {
    color: #a0aec0;
}
.footer a {
  color: var(--text-light);
}
.footer a:hover {
  color: var(--primary-color);
}
.footer ul {
  list-style: none;
  margin: 0;
}
.footer .content p {
    color: #a0aec0;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
}
/* Social links are simple text links as requested */
.footer h4 + ul li a {
    text-decoration: none;
}

/* ---------------------------------- */
/* --- ANIMATIONS & TRANSITIONS --- */
/* ---------------------------------- */
/* Barba.js Page Transitions */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s ease;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}

/* Scroll-triggered Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------- */
/* --- SPECIFIC PAGE STYLES --- */
/* ---------------------------------- */
/* Success Page */
.success-page-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.success-page-content .icon {
    font-size: 5rem;
    color: var(--primary-color);
}