:root {
    /* Color Palette - Triad color scheme */
    --color-primary: #2E7D32;      /* Green primary */
    --color-primary-light: #4CAF50;
    --color-primary-dark: #1B5E20;
    --color-secondary: #1976D2;    /* Blue secondary */
    --color-secondary-light: #42A5F5;
    --color-secondary-dark: #0D47A1;
    --color-tertiary: #D32F2F;     /* Red tertiary */
    --color-tertiary-light: #EF5350;
    --color-tertiary-dark: #B71C1C;
    
    /* Neutral colors */
    --color-white: #ffffff;
    --color-light: #f8f9fa;
    --color-gray-100: #f0f2f5;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    --color-dark: #111111;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-white);
}

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

p {
    margin-bottom: var(--spacing-md);
}

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

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

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

/* Container adjustments */
.container {
    padding: var(--spacing-lg);
}

/* Section spacing */
section {
    padding: var(--spacing-xxl) 0;
}

/* Header and Navigation */
header {
    transition: var(--transition-medium);
    z-index: 1000;
}

.navbar {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.navbar-brand {
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--color-gray-700);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

/* Button styles */
.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-medium);
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
}

.btn-tertiary {
    background-color: var(--color-tertiary);
    border-color: var(--color-tertiary);
    color: var(--color-white);
}

.btn-tertiary:hover,
.btn-tertiary:focus {
    background-color: var(--color-tertiary-dark);
    border-color: var(--color-tertiary-dark);
    color: var(--color-white);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--color-gray-800);
}

.btn-link {
    color: var(--color-primary);
    text-decoration: none;
    padding: 0;
    font-weight: 500;
}

.btn-link:hover,
.btn-link:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Card styles */
.card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-image {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding-top: 80px;
    margin-top: 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-section h1 {
    margin-bottom: var(--spacing-lg);
}

.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.animate-element.show {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Modelos / Portfolio Section */
#modelos .card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray-800);
}

/* Testimonial Section */
#testimonios .card {
    background-color: var(--color-white);
}

#testimonios .card-image img {
    height: 250px;
    object-fit: cover;
}

.text-warning {
    color: #FFC107 !important;
}

/* Partners Section */
#socios img.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-medium);
}

#socios img.grayscale:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Methodology Section */
#metodologia .card {
    text-align: center;
    padding: var(--spacing-md);
}

#metodologia .card-image {
    margin-bottom: var(--spacing-md);
    height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Accolades Section */
#reconocimientos .card {
    text-align: center;
}

#reconocimientos .card-image {
    height: 250px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* News Section */
#noticias .card {
    height: 100%;
}

#noticias .card-image {
    height: 250px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

#noticias .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Press Section */
#prensa .card {
    padding: var(--spacing-lg);
}

#prensa blockquote {
    font-style: italic;
    border-left: 4px solid var(--color-primary-light);
    padding-left: var(--spacing-md);
}

/* Contact Section */
#contacto .form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius-md);
}

#contacto .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

/* Footer styles */
footer {
    background-color: var(--color-gray-900);
    color: var(--color-gray-300);
}

footer h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

footer a {
    color: var(--color-gray-400);
    transition: var(--transition-fast);
}

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

footer hr {
    border-color: var(--color-gray-700);
    opacity: 0.1;
}

/* Social Media Links in Footer */
footer a[href*="facebook.com"],
footer a[href*="twitter.com"],
footer a[href*="instagram.com"],
footer a[href*="linkedin.com"] {
    font-weight: 500;
    transition: var(--transition-fast);
}

footer a[href*="facebook.com"]:hover {
    color: #4267B2;
}

footer a[href*="twitter.com"]:hover {
    color: #1DA1F2;
}

footer a[href*="instagram.com"]:hover {
    color: #E1306C;
}

footer a[href*="linkedin.com"]:hover {
    color: #0A66C2;
}

/* Success page styles */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xxl) 0;
}

/* Privacy and Terms pages */
.privacy-page, 
.terms-page {
    padding-top: 100px;
    min-height: 100vh;
}

/* About page */
.about-page {
    padding-top: 100px;
}

.team-member {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}

/* Contacts page */
.contacts-page {
    padding-top: 100px;
}

/* Read more link styling */
.read-more {
    color: var(--color-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.read-more:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.read-more:after {
    content: "→";
    margin-left: var(--spacing-xs);
    transition: var(--transition-fast);
}

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

/* Utility classes */
.shadow-hover {
    transition: var(--transition-medium);
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        padding-top: 120px;
        padding-bottom: var(--spacing-xxl);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .card-image img {
        height: 200px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--color-white);
        padding: var(--spacing-md);
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-md);
    }
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.pulse-glow {
    animation: pulseGlow 2s infinite;
}

.navbar-brand img{
    width: 60px;
}
.navbar{
    padding: 0px;
}