:root {
    --bg-dark: #0a0f1d;
    --bg-card: #131a30;
    --primary: #00f2fe;
    --secondary: #4facfe;
    --text-main: #ffffff;
    --text-muted: #8fa0dd;
    --accent: #7f00ff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.6;
}

.dropdown{
    position: relative;
    list-style: none;
}

/* Botón */
.dropdown-btn{
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 0;
}

/* Menú desplegable */
.submenu{
    position: absolute;
    top: 100%;
    left: 0;

    width: 230px;

    background: #34495e;
    border-radius: 10px;

    list-style: none;
    padding: 10px 0;
    margin: 10px 0 0;

    display: none;

    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    z-index: 999;
}

.submenu li{
    width:100%;
}

.submenu li a{
    display:block;
    padding:15px 20px;
    color:white;
    text-decoration:none;
}

.submenu li a:hover{
    background:#1abc9c;
}

.dropdown:hover .submenu{
    display:block;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo .tech-text {
    color: var(--primary);
}

.logo .sub-text {
    color: var(--text-main);
    font-weight: 300;
}
.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 60px;
    background: #0a0f1d;
    z-index: 1000;
}

/* Logo */
.logo{
    flex: 0 0 250px;
    font-size: 24px;
    font-weight: bold;
}

/* Contenedor del menú */
nav{
    flex: 1;
    display: flex;
    justify-content: center;
}

/*=========================================
            HERO
=========================================*/

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8% 10px;

    background:
        linear-gradient(rgba(10,15,29,.80), rgba(10,15,29,.90)),
        url("../img/ecologia.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 55px;
    margin: 25px 0;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/*=========================================
            ACERCA DE
=========================================*/

.about-section{
    padding:100px 8%;
}

.about-content{
    max-width:1000px;
    margin:auto;
}

.about-text{

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    padding:50px;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.about-text p{

    color:var(--text-muted);

    font-size:17px;

    margin-bottom:25px;

    text-align:justify;
}

.about-text blockquote{

    margin-top:40px;

    padding:30px;

    border-left:5px solid var(--primary);

    background:rgba(79,172,254,.08);

    color:var(--primary);

    font-size:22px;

    font-style:italic;

    border-radius:12px;
}

/*=========================================
            SERVICIOS
=========================================*/

.services-section{

    padding:100px 8%;

    background:rgba(255,255,255,.02);
}

.features-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.feature-card{

    background:var(--bg-card);

    border:1px solid rgba(255,255,255,.05);

    border-radius:20px;

    padding:40px 30px;

    transition:.35s;

    text-align:center;

    overflow:hidden;

    position:relative;
}

.feature-card::before{

    content:"";

    position:absolute;

    top:0;
    left:-100%;

    width:100%;
    height:4px;

    background:linear-gradient(90deg,var(--secondary),var(--primary));

    transition:.5s;
}

.feature-card:hover::before{

    left:0;
}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,242,254,.15);
}

.icon-wrapper{

    width:90px;
    height:90px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(79,172,254,.10);

    font-size:42px;
}

.feature-card h3{

    margin-bottom:15px;

    font-size:24px;
}

.feature-card p{

    color:var(--text-muted);

    font-size:15px;
}

/*=========================================
          BENEFICIOS
=========================================*/

.benefits-section{

    padding:100px 8%;
}

/*=========================================
            TITULOS
=========================================*/

.section-title{

    text-align:center;

    margin-bottom:60px;
}

.section-title h2{

    font-size:42px;

    margin-bottom:15px;
}

.section-title p{

    color:var(--text-muted);

    max-width:700px;

    margin:auto;
}

/*=========================================
            BOTONES
=========================================*/

.hero-buttons .btn-primary{

    padding:15px 35px;
}

.hero-buttons .btn-secondary{

    padding:15px 35px;
}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:900px){

.hero{

    padding:140px 6% 80px;
}

.hero h1{

    font-size:38px;
}

.about-text{

    padding:30px;
}

.about-text blockquote{

    font-size:18px;
}

.section-title h2{

    font-size:32px;
}

.hero-buttons{

    flex-direction:column;

    align-items:center;
}

}