/********** Template CSS **********/
:root {
    --primary: #0a2540;
    --secondary: #3a5f8a;
    --accent: #e2b04a;
    --light: #f8f9fa;
    --dark: #212529;
    --grey: #6c757d;
    --light-grey: #e9ecef;
    --font-primary: "McKinsey Sans", "Helvetica Neue", "Calibri", "Corbel", "Helvetica", "Roboto", "Droid", "sans-serif";
    --font-secondary: "McKinsey Sans", "Helvetica Neue", "Calibri", "Corbel", "Helvetica", "Roboto", "Droid", "sans-serif";
    --darkgolden: #DAA520;
    --black: var(--black)
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}       

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Ajusta este valor */
}

body {
    font-family: var(--font-secondary);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 3.5rem;
}

a {
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}
.logo {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
}
.logo span {
    color: var(--accent);
}
.logo img {
    height: 40px;  /* Ajusta el tamaño de la imagen */
    width: 40px;   /* Mantiene la proporción */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

.nav-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative; /* Necesario para superponer contenido */
    width: 100%;
    height: 90vh; 
    background-image: url(´images/glowing_blue.jpg´);
    background-size: cover; /* Cubre todo el espacio */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita repetición */
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    color: white; /* Asegura legibilidad (cambia según tu imagen) */
}

.hero-content {
    text-align: left; /* Alinea el texto al centro */
    z-index: 2; /* Asegura que el contenido esté sobre la imagen */
    padding: 20px;
    max-width: 800px; /* Ancho máximo para mejor legibilidad */
}

.subtitle {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: whitesmoke;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--darkgolden);
    color: white;
    border: var(--darkgolden);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    margin-left: 1rem;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Or center if you want all centered */
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 200px; /* or use flex-basis */
    height: 300px; /* Fixed height for consistency */
    text-align: center;
    transition: transform 0.3s;
}
.service-card img {
    width: 250px;
    height: 90px;
    object-fit: contain; /* prevent image stretching */
}
.service-card-title {
    font-size: 18px;
    font-weight: 500;
    color: #0a2540;
    margin-top: 10px;
}
.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allows cards to wrap on small screens */
    margin-top: 50px; /* Optional spacing from top */
}
.list-topics-content ul {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    flex-wrap: wrap;         /* permite que bajen si no caben */
    padding-left: 0;
    margin: 0 auto;
}
.service-image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px #ccc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}
.service-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*-------------------------------------
5. List-topuics
--------------------------------------*/
.list-topics-content {
    position: relative;
    top: -98px;
    z-index: 1;
}
.list-topics-content ul li { display: inline-block;}

.single-list-topics-content{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 205px;
    height: 170px;
    background:#fff;
    border-radius: 3px;
    margin-right: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0px 10px rgba(71,71,71,.2);
    -webkit-transition: .3s linear; 
    -moz-transition:.3s linear; 
    -ms-transition:.3s linear; 
    -o-transition:.3s linear;
    transition: .3s linear;
}
.single-list-topics-content h2>a { margin: 13px 0;}
/*.single-list-topics-content:last-child{margin-right: 0;}*/

.single-list-topics-icon [class^="flaticon-"]:before,.single-list-topics-icon [class*=" flaticon-"]:before,.single-list-topics-icon [class^="flaticon-"]:after,.single-list-topics-icon [class*=" flaticon-"]:after {font-size: 30px;color:#343a3f;}
.single-list-topics-content:hover .single-list-topics-icon [class^="flaticon-"]:before,.single-list-topics-content:hover .single-list-topics-icon [class*=" flaticon-"]:before,.single-list-topics-content:hover .single-list-topics-icon [class^="flaticon-"]:after,.single-list-topics-content:hover .single-list-topics-icon [class*=" flaticon-"]:after {color:#fff;}

.single-list-topics-content:hover h2>a,.single-list-topics-content:hover p{color: #fff!important;}
.single-list-topics-content:hover{
color: #fff;
background:#3a5f8a;
box-shadow: 0 5px 10px rgba(71,71,71,.4);
}       
/*-------------------------------------       
9.  Counter
--------------------------------------*/
.statistics{
    position:relative;
    display: flex;
    align-items: center;
    background:url("C:\Users\Paul Gonzalez\Desktop\Mis Documentos\New Projects\Consulting\Website\images\counter_banner.jpg")no-repeat fixed;
    background-position:center;
    background-size:cover;
    padding:127px 0 120px;
}
.statistics:before{
    position:absolute;
    content:'';
    background: rgba(75,75,75,.60);
    height:100%;
    width:100%;
    top:0;
    left:0;
}
/* Stats Section */
.stats {
    background-color: white;
    padding: 4rem 0;
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.stat-item p {
    color: var(--grey);
    font-size: 1.1rem;
}

/* Featured Section */
.featured {
    padding: 6rem 0;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    position: relative;
    display: inline-block;
}
.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}
.featured-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.featured-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.featured-img {
    height: 300px;
    background-color: var(--light-grey);
    width: 300px;
    height: 300px;
    object-fit: cover; /* or try 'contain' */
    display: flex;
    margin: auto;
}
.featured-content {
    padding: 1.5rem;
}
.featured-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.featured-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 20px;
    background-color: var(--light-grey);
    color: var(--grey);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary);
    color: white;
    padding: 6rem 0;
    position: relative;
}
.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 1) 100%);
}
.testimonials .container {
    position: relative;
    z-index: 1;
}
.testimonials .section-header h2 {
    color: white;
}
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}
.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-grey);
    margin-right: 1rem;
}
.author-info h4 {
    margin-bottom: 0.2rem;
    font-family: var(--font-secondary);
}
.author-company {
    font-size: 0.9rem;
    opacity: 0.8;
}

/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../images/tech.png) center center no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 50vh; /* Sobrescribe los paddings/alturas de Bootstrap */
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}    
/*** Cookie banner ***/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /*semi-transparent black */
    color: #ffffff;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* Optional: adds glass effect */
}
.cookie-banner p {
    margin: 0;
    flex: 1;
    padding-right: 10px;
}

.cookie-banner a {
    color: #daa520;
    text-decoration: underline;
}
.cookie-banner button {
    background-color: white;
    color: black;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 200;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}
.cookie-banner button:hover {
    background-color: black;
    color:white;
    
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
    max-height: 70vh;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}
.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}
.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.footer-col h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    bottom: -8px;
    left: 0;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.8rem;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}
.footer-col a:hover {
    background-color: white;
    color: var(--darkgolden);
    padding-left: 5px;
}
.footer-newsletter p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}
.newsletter-form {
    display: flex;
}
.newsletter-input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-secondary);
}
.newsletter-btn {
    background-color: var(--darkgolden);
    color: var(--dark);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
}
.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--darkgolden);
    color: white;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background-color: white;
    color: var(--darkgolden);
    transform: translateY(-3px);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}
.chat-widget:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
from {
    opacity: 0;
    transform: translateY(20px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.fade-in {
animation: fadeIn 0.8s ease forwards;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

section {
    padding: 4rem 0;
}

.hero {
    padding: 10rem 0 6rem;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    right: 0;
}

.nav-btn {
    display: block;
}

.btn-outline {
    margin-left: 0;
    margin-top: 1rem;
}

.featured-container,
.testimonials-container {
    grid-template-columns: 1fr;
}
}

