
:root {
    --primary-color: #38b6ff;      
    --primary-dark-color: #008DD6; 
    --text-dark-color: #2C3E50;    
    --text-light-color: #6C7A89;   
    --background-light: #FFFFFF;   
    --background-soft: #F9F9F9;    
    --border-color: #E0E0E0;       
    --shadow-color: rgba(0, 0, 0, 0.08); 
    --gradient-start: #38b6ff;
    --gradient-end: #008DD6;
    
    --input-background: #F2F4F8; 
    --form-button-color: var(--primary-color); 
    --form-button-hover: var(--primary-dark-color); 
    --contact-text-highlight: var(--primary-color); 
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif; 
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark-color);
    background-color: var(--background-light);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');



.header-container, .hero-content, .services-container, .footer-container, .contact-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}


.new-header {
    background-color: var(--background-light);
    box-shadow: 0 2px 10px var(--shadow-color); 
    padding: 15px 0;
    position: sticky; 
    top: 0;
    z-index: 1000; 
}

.new-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex; 
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 80px; 
    width: auto;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px; 
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark-color);
    font-weight: 500; 
    font-size: 1em;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color); 
}

.header-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px; 
    font-weight: 600; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.header-btn:hover {
    background-color: var(--primary-dark-color);
    transform: translateY(-2px);
}




.hamburger {
    display: none;
    position: absolute;
    right: 40px;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 2000; 
}

.hamburger span {
    background-color: var(--text-dark-color);
    height: 3px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}


.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px);
}


@media (max-width: 768px) {
    .main-nav,
    .header-btn {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed; 
        top: 40px;
        right: 40px;
        z-index: 9999; 
      }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(56, 182, 255, 0.95); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1100;
    text-align: center;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    display: inline-block;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.mobile-menu ul li a:hover {
    transform: scale(1.05);
}

.cta-mobile {
    margin-top: 40px;
    background-color: white;
    color: var(--primary-color); 
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-mobile:hover {
    background-color: #eee;
    transform: translateY(-2px);
}




.hero-section {
    background-color: var(--background-light);
    padding: 40px 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px; 
    position: relative;
    overflow: hidden; 
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; 
    flex-wrap: wrap; 
    padding: 0 20px; 
}

.hero-text {
    flex: 1; 
    min-width: 300px; 
}

.hero-text h1 {
    font-size: 3.5em; 
    font-weight: 700; 
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark-color);
}

.hero-text h1 .highlight {
    color: var(--primary-color); 
}

.hero-text p {
    font-size: 1.15em;
    color: var(--text-light-color);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px; 
    flex-wrap: wrap;
}

.hero-buttons a{
    text-decoration: none;
}

.btn.primary-btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)); 
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(56, 182, 255, 0.3); 
}

.btn.primary-btn:hover {
    background: linear-gradient(to right, var(--gradient-end), var(--gradient-start)); 
    box-shadow: 0 10px 25px rgba(56, 182, 255, 0.4);
    transform: translateY(-3px);
}

.btn.secondary-btn {
    background-color: transparent;
    color: var(--text-dark-color);
    border: 2px solid var(--border-color); 
    padding: 13px 30px; 
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; 
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn.secondary-btn .arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--text-dark-color); 
    transition: border-top-color 0.3s ease;
}

.btn.secondary-btn:hover .arrow-down {
    border-top-color: #fff; 
}


.hero-image {
    flex: 1;
    min-width: 300px; 
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: block; 
    margin: 0 auto; 
}


.services-section {
    background-color: var(--background-soft); 
    padding: 80px 0;
    text-align: center;
}

.services-container {
    padding: 0 20px;
}

.section-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark-color);
}

.section-title strong { 
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2em;
    color: var(--text-light-color);
    max-width: 700px;
    margin: 0 auto 50px auto; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 15px; 
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left; 
}

.service-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); 
}

/*.icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color); /* Color del icono 
    border-radius: 12px; /* Ligeramente redondeado 
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/images/comunicaciones.png);
    /* Si usas SVG, puedes ponerlo directamente aquí o como background-image 
    /* Ejemplo: background-image: url('path/to/icon.svg'); background-size: 70%; background-repeat: no-repeat; background-position: center; 
}*/


.service-icon {
    width: 75px;   
    height: 75px;  
    object-fit: contain; 
    margin-bottom: 20px; 
    display: block; 
    margin-left: 0; 
    border-radius: 10px;
    
}

.service-card h3 {
    font-size: 1.5em;
    color: var(--text-dark-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95em;
    color: var(--text-light-color);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark-color);
}


.contact-section {
    background-color: var(--background-light); 
    padding: 80px 0; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px; 
    position: relative;
    overflow: hidden;
}

.contact-container {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 60px; 
    flex-wrap: wrap; 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}


.contact-text {
    flex: 1; 
    min-width: 300px; 
    text-align: left; 
    padding-right: 20px; 
}

.contact-text h3 {
    color: var(--contact-text-highlight); 
    font-size: 0.95em; 
    font-weight: 600; 
    text-transform: uppercase; 
    margin-bottom: 10px;
    letter-spacing: 1px; 
}

.contact-title {
    font-size: 2.8em; 
    font-weight: 700; 
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-dark-color); 
}

.contact-text p {
    font-size: 1.1em; 
    color: var(--text-light-color); 
    margin-bottom: 25px;
}


.contact-text-line {
    width: 60px; 
    height: 3px; 
    background-color: var(--primary-color); 
    margin-top: 20px; 
    border-radius: 2px; 
}


.contact-card {
    flex: 1; 
    min-width: 350px; 
    background-color: var(--background-light); 
    padding: 40px; 
    border-radius: 25px; 
    box-shadow: 0 15px 30px var(--shadow-color); 
    text-align: left; 
}


.contact-form {
    
}


.contact-form-row {
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    gap: 20px; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
}


.contact-form-item {
    flex: 1; 
    display: flex;
    flex-direction: column; 
}

.contact-form-item label {
    font-size: 0.9em; 
    color: var(--text-dark-color); 
    margin-bottom: 8px; 
    font-weight: 500; 
}


.contact-form-item input,
.contact-form-item textarea {
    width: 100%; 
    padding: 12px 18px; 
    border-radius: 10px; 
    border: none; 
    background-color: var(--input-background); 
    height: 50px; 
    font-size: 1em;
    color: var(--text-dark-color);
    box-sizing: border-box; 
}

.contact-form-item input::placeholder,
.contact-form-item textarea::placeholder {
    color: var(--text-light-color); 
    opacity: 0.7; 
}

.contact-form-item textarea {
    height: 120px; 
    resize: vertical; 
    min-height: 80px; 
    font-family: 'Poppins', sans-serif;
}


.btn.contact-submit-btn {
    width: 100%; 
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end)); 
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px; 
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 8px 20px rgba(56, 182, 255, 0.3); 
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none; 
    cursor: pointer;
    margin-top: 5px; 
}

.btn.contact-submit-btn:hover {
    background: linear-gradient(to right, var(--gradient-end), var(--gradient-start)); 
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56, 182, 255, 0.4); 
}



@media (max-width: 768px) {
    .contact-container {
        text-align: center; 
        gap: 50px; 
    }

    .contact-text {
        padding-right: 0; 
    }

    .contact-text-line {
        margin: 50px auto 0 auto; 
    }

    .contact-card {
        padding: 30px; 
        min-width: unset; 
        width: 100%; 
    }

    .contact-form-row {
        flex-direction: column; 
        gap: 15px; 
    }

    .contact-form-item input,
    .contact-form-item textarea {
        height: auto; 
        min-height: 45px; 
    }
}

.new-footer {
    background-color: var(--text-dark-color); 
    color: #fff;
    padding: 60px 0 20px 0; 
    font-size: 0.95em;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 30px; 
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

.footer-col {
    flex: 1; 
    min-width: 250px; 
}

.footer-col .logo-img.footer-logo {
    height: 45px; 
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-color); 
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7); 
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-slogan {
    font-size: 1.1em;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons a {
    display: inline-block;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 35px; 
    text-align: center;
    margin-right: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.6);
}


@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3em;
    }
    .hero-text p {
        font-size: 1.1em;
    }
    .main-nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .new-header .header-container {
        flex-direction: row;
        justify-content: flex-start;
        max-width: 100%;
    }
    
    .logo-img {
        height: 50px; 
        width: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%; 
    }

    .header-btn {
        margin-top: 10px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5em;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-buttons {
        justify-content: center; 
    }

    .section-title {
        font-size: 2.2em;
    }

    .section-subtitle {
        font-size: 1.1em;
    }

    .services-grid {
        grid-template-columns: 1fr; 
    }

    .service-card {
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-card h3{
        margin: 1px 0px;
    }

    .icon-placeholder {
        margin: 0 auto 20px auto; 
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo-link{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .desactiveLogo{
        display: none;
    }

}

@media (max-width: 480px) {
    .header-container, .hero-content, .services-container {
        width: 95%;
        padding: 10px 0;
    }

    .hero-section {
        padding: 60px 0;
        min-height: auto; 
    }

    .hero-text h1 {
        font-size: 2em;
    }

    .hero-text p {
        font-size: 1em;
    }

    .btn.primary-btn, .btn.secondary-btn {
        padding: 12px 25px;
        font-size: 0.95em;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column; 
        gap: 15px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .section-subtitle {
        font-size: 1em;
    }

    .service-card {
        padding: 40px;
    }

}