.dp-hero-small{
    background:
        linear-gradient(
            135deg,
            rgba(3,21,44,.95),
            rgba(8,35,65,.92)
        );
    min-height: 100vh;
}

.dp-input{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    padding: 14px 16px;
    border-radius: 14px;
}

.dp-input:focus{
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: #0dcaf0;
    box-shadow: none;
}

.dp-input::placeholder{
    color: rgba(255,255,255,.5);
}

.cif-btn--success{
    background: #198754;
    color: #fff;
}

.cif-btn--success:hover{
    background: #157347;
    color: #fff;
}

/* =========================================
   GENERAL
========================================= */

html{
    scroll-behavior: smooth;
}

body{
    background: #03152c;
    color: white;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   HERO
========================================= */

.hero-section{
    position: relative;
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(2,12,27,.52),
            rgba(2,12,27,.62)
        ),
        url('../img/diplomados/fondo.png');

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
}

.hero-overlay{
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(0,102,255,.18),
            transparent 40%
        );
}

.navbar{
    position: relative;
    z-index: 10;
}

.navbar-brand img{
    height: 55px;
}

.nav-link{
    color: rgba(255,255,255,.82) !important;
    font-weight: 500;
    transition: .3s ease;
}

.nav-link:hover,
.nav-link.active{
    color: #ff7a00 !important;
}

.hero-content{
    position: relative;
    z-index: 2;

    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 100px 0;
}

.hero-mini{
    display: inline-block;

    color: #ff7a00;

    font-size: .9rem;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.hero-content h1{
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;

    max-width: 900px;
}

.hero-content p{
    max-width: 760px;

    margin-top: 25px;

    color: rgba(255,255,255,.75);

    font-size: 1.15rem;
    line-height: 1.9;
}

.hero-buttons{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;

    margin-top: 40px;
}

/* =========================================
   BOTONES
========================================= */

.btn-main{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    background: #ff7a00;
    color: white;

    border-radius: 14px;

    font-weight: 700;

    text-decoration: none;

    transition: .3s ease;
}

.btn-main:hover{
    background: #ff902d;
    transform: translateY(-2px);
    color: white;
}

.btn-outline-light-custom{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,.15);

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: .3s ease;
}

.btn-outline-light-custom:hover{
    background: rgba(255,255,255,.08);
    color: white;
}

/* =========================================
   DIPLOMADOS
========================================= */

.dp-home-diplomados{
    position: relative;

    padding: 110px 0;

    background:
        linear-gradient(
            180deg,
            #03152c 0%,
            #041f42 100%
        );

    overflow: hidden;
}

.dp-home-diplomados::before{
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background: rgba(0,102,255,.08);

    top: -250px;
    right: -250px;

    filter: blur(120px);
}

.dp-mini-title{
    display: inline-block;

    color: #ff7a00;

    font-size: .9rem;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.dp-main-title{
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.dp-description{
    max-width: 760px;

    color: rgba(255,255,255,.72);

    font-size: 1.08rem;

    margin-top: 20px;
}

/* =========================================
   CARDS
========================================= */

.dp-card{
    position: relative;

    height: 100%;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 28px;

    overflow: hidden;

    backdrop-filter: blur(14px);

    transition: .35s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,.28);
}

.dp-card:hover{
    transform: translateY(-10px);

    border-color:
        rgba(255,122,0,.35);

    box-shadow:
        0 20px 40px rgba(0,0,0,.38);
}

.dp-card__image{
    position: relative;
    height: 250px;
    overflow: hidden;
}

.dp-card__image img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

.dp-card:hover .dp-card__image img{
    transform: scale(1.06);
}

.dp-card__overlay{
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3,21,44,.95),
            transparent
        );
}

.dp-card__badge{
    position: absolute;

    top: 18px;
    left: 18px;

    background: #ff7a00;
    color: white;

    padding: 8px 14px;

    border-radius: 40px;

    font-size: .8rem;
    font-weight: 700;
}

.dp-card__content{
    padding: 30px;
}

.dp-card__content h3{
    color: white;

    font-size: 1.45rem;
    font-weight: 700;

    margin-bottom: 15px;
}

.dp-card__content p{
    color: rgba(255,255,255,.72);

    line-height: 1.8;
}

.dp-card__meta{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;

    margin-top: 22px;
    margin-bottom: 28px;
}

.dp-card__meta span{
    color: #8ab4ff;
    font-size: .95rem;
}

/* =========================================
   CARD HORIZONTAL FULL WIDTH
========================================= */

.dp-card{
    display: flex;
    align-items: stretch;
    min-height: 320px;
}

/* IMAGEN */
.dp-card__image{
    width: 38%;
    min-width: 38%;
    height: auto;
    min-height: 320px;
    overflow: hidden;
}

/* IMAGEN AJUSTADA */
.dp-card__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CONTENIDO */
.dp-card__content{
    width: 62%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TITULO */
.dp-card__content h3{
    font-size: 2rem;
}

/* TEXTO */
.dp-card__content p{
    font-size: 1.05rem;
    line-height: 1.9;
}

/* RESPONSIVE */
@media(max-width:991px){

    .dp-card{
        flex-direction: column;
    }

    .dp-card__image{
        width: 100%;
        min-width: 100%;
        min-height: 240px;
        height: 240px;
    }

    .dp-card__content{
        width: 100%;
        padding: 30px;
    }

    .dp-card__content h3{
        font-size: 1.5rem;
    }

}

/* =========================================
   BOTONES CARD
========================================= */

.dp-btn,
.dp-btn-outline{
    width: 100%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 20px;

    border-radius: 14px;

    text-decoration: none;

    font-weight: 700;

    transition: .3s ease;
}

.dp-btn{
    background: #ff7a00;
    color: white;
}

.dp-btn:hover{
    background: #ff912f;
    color: white;
}

.dp-btn-outline{
    border: 1px solid rgba(255,255,255,.12);
    color: white;
}

.dp-btn-outline:hover{
    background: rgba(255,255,255,.05);
    color: white;
}

/* =========================================
   BANNER
========================================= */

.home-banner{
    padding: 110px 0;

    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.75)
        ),
        url('../img/diplomados/ciberseguridad-bg.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    text-align: center;
}

.home-banner__mini{
    color: #ff7a00;

    font-weight: 700;

    letter-spacing: 2px;
    font-size: .9rem;
}

.home-banner h2{
    margin-top: 20px;

    font-size: 3rem;
    font-weight: 800;
}

.home-banner p{
    max-width: 760px;

    margin: 25px auto 0;

    color: rgba(255,255,255,.75);

    line-height: 1.9;
    font-size: 1.1rem;
}

/* =========================================
   AVALES
========================================= */

.dp-avales{
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #03152c 0%,
            #041b38 100%
        );
}

.dp-avales__content{
    text-align: center;
}

.dp-avales__mini{
    color: #ff7a00;

    font-size: .9rem;
    font-weight: 700;

    letter-spacing: 2px;
}

.dp-avales__title{
    margin-top: 18px;
    margin-bottom: 55px;

    font-size: 2rem;
    font-weight: 800;
}

.dp-avales__logos{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.dp-logo-card{
    width: 260px;
    height: 140px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.06);

    border-radius: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .35s ease;

    box-shadow:
        0 10px 25px rgba(0,0,0,.22);
}

.dp-logo-card:hover{
    transform: translateY(-6px);

    border-color:
        rgba(255,122,0,.25);
}

.dp-logo-card img{
    max-width: 78%;
    max-height: 70px;
    object-fit: contain;
}

/* =========================================
   FOOTER
========================================= */

.main-footer{
    padding-top: 90px;

    background: #020d1d;
}

.footer-logo{
    height: 70px;
    margin-bottom: 25px;
}

.footer-text{
    color: rgba(255,255,255,.68);
    line-height: 1.9;
    max-width: 420px;
}

.footer-title{
    color: white;

    font-weight: 700;

    margin-bottom: 25px;
}

.footer-links,
.footer-contact{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li{
    margin-bottom: 15px;
}

.footer-links a{
    color: rgba(255,255,255,.68);

    text-decoration: none;

    transition: .3s ease;
}

.footer-links a:hover{
    color: #ff7a00;
}

.footer-contact li{
    color: rgba(255,255,255,.7);
}

.footer-contact i{
    color: #ff7a00;
    margin-right: 10px;
}

.footer-bottom{
    margin-top: 70px;

    border-top:
        1px solid rgba(255,255,255,.06);

    padding: 25px 0;

    color: rgba(255,255,255,.45);

    font-size: .92rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:991px){

    .hero-content h1{
        font-size: 3.2rem;
    }

    .dp-main-title,
    .home-banner h2{
        font-size: 2.3rem;
    }

}

@media(max-width:768px){

    .hero-section{
        min-height: auto;
    }

    .hero-content{
        padding: 80px 0;
    }

    .hero-content h1{
        font-size: 2.4rem;
    }

    .hero-content p{
        font-size: 1rem;
    }

    .hero-buttons{
        flex-direction: column;
        width: 100%;
    }

    .btn-main,
    .btn-outline-light-custom{
        width: 100%;
    }

    .dp-main-title,
    .home-banner h2{
        font-size: 2rem;
    }

    .dp-avales__title{
        font-size: 1.5rem;
    }

    .dp-logo-card{
        width: 100%;
        max-width: 320px;
    }

    .footer-text{
        max-width: 100%;
    }

}