:root {
  /* Color Palette */
  --primary: #004c98; /* YPF blue */
  --primary-dark: #003a73;
  --primary-light: #2373c8;
  --secondary: #f7c331; /* YPF yellow */
  --secondary-dark: #e6b01e;
  --secondary-light: #ffd860;
  --dark: #222222;
  --light: #f9f9f9;
  --white: #ffffff;
  --gray: #666666;
  --light-gray: #f0f0f0;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  
  /* Glassmorphism variables */
  --glass-background: rgba(255, 255, 255, 0.15);
  --glass-background-dark: rgba(0, 0, 0, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-blur: 8px;
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --card-padding: 1.5rem;
  
  /* Transitions */
  --transition-slow: 0.5s ease-in-out;
  --transition-medium: 0.3s ease-in-out;
  --transition-fast: 0.2s ease-in-out;
  
  /* Border Radius */
  --radius-small: 5px;
  --radius-medium: 10px;
  --radius-large: 15px;
  --radius-round: 50%;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 2.5rem;
}

.mb-6 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 2.5rem;
}

.mt-6 {
  margin-top: 3rem;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

.p-5 {
  padding: 2.5rem;
}

/* Glassmorphism Effects */
.glassmorphism-nav {
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.glassmorphism-section {
  background: rgba(249, 249, 249, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.125);
}

.glassmorphism-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-medium);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  padding: var(--card-padding);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glassmorphism-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px 0 rgba(31, 38, 135, 0.25);
}

.glassmorphism-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 2rem;
}

/* Button Styles */
.button, button, input[type="submit"] {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: none;
  padding: 0.375rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.button:active, button:active, input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.button:before, button:before, input[type="submit"]:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: all 0.6s ease;
}

.button:hover:before, button:hover:before, input[type="submit"]:hover:before {
  transform: translateX(100%);
}

.button.is-primary {
  background-color: var(--primary);
  color: var(--white);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-light {
  background-color: var(--white);
  color: var(--primary);
}

.button.is-light:hover {
  background-color: var(--light-gray);
}

.button.is-rounded {
  border-radius: 50px;
}

.button.is-large {
  padding: 0.75rem 2.5rem;
  font-size: 1.25rem;
}

.button.is-fullwidth {
  width: 100%;
}

/* Header & Navigation */
.navbar {
  padding: 1rem 0;
}

.navbar-brand img {
  max-height: 50px;
}

.navbar-item {
  font-weight: 600;
  position: relative;
}

.navbar-item:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-medium);
}

.navbar-item:hover:after {
  width: 100%;
}

.navbar-burger {
  height: 3.25rem;
  width: 3.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero-body {
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem;
}

.hero .title, .hero .subtitle {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s;
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  animation: fadeIn 1.5s;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section .title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section .title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

/* About Section */
#about img {
  border-radius: var(--radius-large);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-medium);
}

#about img:hover {
  transform: scale(1.02);
}

/* Services Section */
.card-image {
  overflow: hidden;
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.card:hover .image-container img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content .title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1.5rem;
}

.card-content .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Mission Section */
#mission .content {
  padding: 2rem;
}

#mission img {
  border-radius: var(--radius-large);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* History Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline .columns {
  margin-bottom: 2rem;
}

.timeline .title {
  color: var(--primary);
}

/* Testimonials */
.stars {
  margin-bottom: 1rem;
}

.stars i {
  color: var(--secondary);
  margin-right: 0.25rem;
}

/* Webinars Section */
#webinars ul {
  list-style-type: none;
  padding-left: 0;
}

#webinars li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#webinars li:last-child {
  border-bottom: none;
}

/* Community Section */
#community .content {
  padding: 2rem;
}

#community img {
  border-radius: var(--radius-large);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* News Section */
#news .card-image {
  height: 200px;
}

#news .subtitle {
  color: var(--gray);
  font-size: 0.9rem;
}

#news .button {
  align-self: flex-start;
}

/* Contact Section */
#contact .card {
  height: 100%;
}

.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .label {
  font-weight: 600;
}

.contact-form .input, 
.contact-form .textarea, 
.contact-form .select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-small);
  transition: border var(--transition-fast);
}

.contact-form .input:focus, 
.contact-form .textarea:focus, 
.contact-form .select select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 76, 152, 0.2);
}

.map-container {
  height: 300px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  margin-bottom: 1rem;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer{
  background: #003a73!important;
}
/* Footer Styles */
.footer h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.footer h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}

.footer ul {
  list-style-type: none;
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--white);
  transition: color var(--transition-fast);
}

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

.social-links p {
  margin-bottom: 0.5rem;
}

.social-links a {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.social-links a:hover {
  transform: translateX(5px);
}

/* Success Page */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Enlaces Externos */
#enlaces .card-content {
  height: 100%;
}

#enlaces .title a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

#enlaces .title a:hover {
  color: var(--primary-dark);
}

/* Read More Links */
a.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  padding-right: 20px;
}

a.read-more:after {
  content: '→';
  position: absolute;
  right: 0;
  transition: transform var(--transition-fast);
}

a.read-more:hover:after {
  transform: translateX(5px);
}

/* Cookie Consent */
#cookieConsent {
  background: var(--glass-background-dark);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-top: var(--glass-border);
  padding: 1rem;
}

#cookieConsent p {
  margin-bottom: 1rem;
  color: var(--white);
}

#acceptCookies {
  background-color: var(--secondary);
  color: var(--dark);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--secondary-dark);
}

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-menu {
    background-color: var(--glass-background);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--glass-shadow);
  }
  
  .navbar-item {
    color: var(--dark);
  }
}

@media screen and (max-width: 576px) {
  .hero .title {
    font-size: 1.8rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .card-image {
    height: 200px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate__pulse {
  animation: pulse 2s infinite;
}