:root {
    --primary-blue: #002b5e; /* El azul de tu imagen */
    --accent-blue: #00a8ff;
    --light-gray: #f8f9fa;
    --dark-text: #333;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--dark-text); scroll-behavior: smooth; }

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 10%; background: var(--primary-blue); color: var(--white);
    position: fixed; width: 100%; top: 0; z-index: 1000;
}
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-blue); }

/* Hero */
.hero {
    height: 100vh; background: linear-gradient(rgba(0,43,94,0.85), rgba(0,43,94,0.85)), url('tu-foto.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.hero h1 span { color: var(--accent-blue); }
.social-tags span { background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; margin: 5px; display: inline-block; }

/* Layout */
.container { padding: 80px 10%; }
.bg-light { background-color: var(--light-gray); }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2rem; color: var(--primary-blue); }

/* Projects Grid */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s; padding: 20px; }
.card:hover { transform: translateY(-10px); }

/* Buttons */
.btn-primary {
    display: inline-block; padding: 12px 30px; background: var(--accent-blue);
    color: var(--white); text-decoration: none; border-radius: 5px; font-weight: bold; margin-top: 20px;
}


/* conctacto */
/* La línea azul delgada arriba del título */
.top-line {
    width: 60px;
    height: 2px;
    background-color: #639cff; /* Color lila/azul suave */
}

/* La caja cuadrada del ejemplo */
.custom-contact-box {
    border: 1px solid #ebebeb;
    padding: 50px 20px;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

/* Icono grande y verde como el ejemplo */
.contact-icon {
    font-size: 40px;
    color: #7cc04b; /* Verde de la imagen */
    margin-bottom: 20px;
}

.custom-contact-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.custom-contact-box p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Efecto sutil al pasar el mouse */
.custom-contact-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #7cc04b;
}

.logo {
  display: none; /* por defecto oculto */
}

@media (min-width: 1024px) {
  .logo {
    display: block; /* se muestra solo en pantallas grandes */
  }
}


/* Fuerza la alineación horizontal en pantallas medianas y grandes */
@media (min-width: 768px) {
    #contact .row {
        display: flex !important;
        flex-wrap: nowrap !important; /* Evita que salten de línea */
        justify-content: space-between;
    }
}

.custom-contact-box {
    border: 1px solid #ebebeb;
    padding: 40px 20px;
    text-align: center;
    min-height: 250px;
    background: #fff;
    width: 100%;
}

.contact-card { text-align: center; background: var(--primary-blue); color: white; padding: 40px; border-radius: 15px; }
footer { text-align: center; padding: 20px; background: #a1c6f3; color: white; }