/*
  style.css
  Theme: Financial Consulting in Argentina
  Design System: Futuristic + Biomorphic
  Color Scheme: Complementary
  Animation: Scroll-dependent effects
*/

/* -------------------------------------------------- */
/* 1. CSS Variables & Root Setup
/* -------------------------------------------------- */
:root {
  /* Color Palette (Complementary: Teal/Blue + Amber/Orange) */
  --primary-color: #00bcd4; /* Bright Cyan/Teal */
  --primary-color-dark: #0097a7;
  --accent-color: #ff9800; /* Vibrant Orange/Amber */
  --accent-color-glow: rgba(255, 152, 0, 0.7);
  
  --background-light: #f4f7f6;
  --background-dark: #1a1a2e; /* Deep Space Blue */
  --card-background: #ffffff;
  
  --text-dark: #333333;
  --text-light: #f0f0f0;
  --text-muted: #888;
  --text-headings: #1c1c3a; /* Darker blue for headings */

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Sizing & Radius */
  --header-height: 80px;
  --biomorphic-radius-sm: 15px 5px;
  --biomorphic-radius-md: 30px 10px;
  --biomorphic-radius-lg: 50px 15px;
  --standard-radius: 8px;

  /* Transitions & Shadows */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px var(--accent-color-glow);
}

/* -------------------------------------------------- */
/* 2. Global & Base Styles
/* -------------------------------------------------- */
html {
  scroll-behavior: smooth;
  background-color: var(--background-light);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--background-light);
  font-size: 1.1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------- */
/* 3. Typography
/* -------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .title, .subtitle, .logo-text {
  font-family: var(--font-heading);
  color: var(--text-headings);
  font-weight: 700;
}

.section-title {
    margin-bottom: 2.5rem !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

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

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

/* -------------------------------------------------- */
/* 4. Layout & Helpers
/* -------------------------------------------------- */
.section {
    padding: 4rem 1.5rem;
}

.container {
    max-width: 1200px !important;
    margin: auto;
}

.static-page-content, .success-page-container {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}

.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    background-color: var(--background-dark);
}
.success-page-container .title {
    color: var(--text-light);
}
.success-page-container .subtitle {
    color: var(--text-muted);
}

/* -------------------------------------------------- */
/* 5. Scroll Animations
/* -------------------------------------------------- */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-slow), transform 0.8s var(--transition-slow);
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for columns */
.columns .scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.columns .scroll-animate:nth-child(3) { transition-delay: 0.4s; }
.columns .scroll-animate:nth-child(4) { transition-delay: 0.6s; }


/* -------------------------------------------------- */
/* 6. Components
/* -------------------------------------------------- */

/* --- Header & Navigation --- */
.header.is-fixed-top {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  height: var(--header-height);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1.25rem;
  transition: color var(--transition-fast);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* --- Buttons (Global) --- */
.futuristic-button, button.is-primary {
  font-family: var(--font-heading);
  background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: var(--biomorphic-radius-md);
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.futuristic-button:hover, button.is-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-medium);
  color: #fff;
}

.futuristic-button span, button.is-primary span {
  position: relative;
  z-index: 1;
}

/* --- Forms --- */
.futuristic-input {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #ddd;
  border-radius: var(--standard-radius);
  padding: 1.2rem;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: none;
}

.futuristic-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

/* --- Cards --- */
.card {
  background-color: var(--card-background);
  border-radius: var(--biomorphic-radius-md);
  box-shadow: var(--shadow-light);
  border: 1px solid #eee;
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.card .card-image .image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.card .card-content {
  padding: 2rem;
  text-align: left;
}
.card .card-content .title {
  margin-bottom: 0.75rem;
}
.card .content {
    line-height: 1.6;
}
.project-card .card-image {
    height: 250px; /* Fixed height for image containers */
}


/* -------------------------------------------------- */
/* 7. Section-Specific Styles
/* -------------------------------------------------- */

/* --- Hero Section --- */
#hero {
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

#hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
 
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 26, 46, 0.6), rgba(26, 26, 46, 0.9));
  z-index: -1;
}

#hero .title.is-1 {
    font-size: 4rem;
    font-weight: 700;
}

/* --- Innovation Section --- */
.innovation-card {
  text-align: center;
}
.innovation-card .card-content {
    padding: 2.5rem;
}

/* --- Press / External Resources --- */
.resource-card {
    margin-bottom: 1.5rem;
}
.resource-card a {
    text-decoration: none;
    color: var(--text-headings);
}
.resource-card a:hover {
    color: var(--primary-color);
}
.resource-card .title {
    font-size: 1.25rem;
}
.resource-card .content {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- Awards Section --- */
.awards-list {
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem;
  border-radius: var(--biomorphic-radius-md);
}

.award-item {
  border-left: 3px solid var(--accent-color);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.award-item:last-child {
    margin-bottom: 0;
}
.award-item .title {
    color: var(--text-headings);
}
.award-item .subtitle {
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  background-color: var(--background-dark);
  color: var(--text-muted);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: var(--text-light);
  font-family: var(--font-heading);
}

.footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--accent-color);
}

.footer ul {
  list-style: none;
  margin-left: 0;
}
.footer li {
  margin-bottom: 0.5rem;
}

.footer .content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* -------------------------------------------------- */
/* 8. Responsiveness
/* -------------------------------------------------- */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    border-radius: 0 0 var(--standard-radius) var(--standard-radius);
    padding-bottom: 1rem;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  #hero .title.is-1 {
    font-size: 2.5rem;
  }
  #hero .subtitle.is-3 {
    font-size: 1.25rem;
  }

  .static-page-content, .success-page-container {
      padding-top: calc(var(--header-height) + 20px);
      padding-left: 1rem;
      padding-right: 1rem;
  }
}