/*
Author       : Themesvila (Optimized by Gemini for INTEC)
Template Name: Edplus - Education HTML Template
Version      : 1.1 (Cleaned & Rebranded)
*/

/*
* ----------------------------------------------------------------------------------------
* 01. GENERAL STYLE & VARIABLES
* ----------------------------------------------------------------------------------------
*/

:root {
  --title: #001349; /* Azul Corporativo Oscuro para Textos */
  --body: #555;
  --gray: #F4F6F9;
  --f9: #f9f9f9;
  --white: #fff;
  --blue: #001349; /* INTEC Azul */
  --orange: #FF6D00; /* INTEC Naranja (Accent) */
  --green: #25D366; /* WhatsApp Green */
  --rating: #FF6D00; /* Estrellas naranjas */
  --dc: #DCE1F5;
  --shadow-2: 0 6px 30px rgba(0,0,0,0.05);
  --bs-border-radius: 8px;
}

body {
    color: var(--body);
    font-family: 'Parkinsans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0px; 
    font-family: 'Parkinsans', sans-serif;
    color: var(--title);
    font-weight: 700;
}

a {
    color: var(--body);
    text-decoration: none;
    transition: .3s;
}

a:hover, a:focus {
    text-decoration: none;
    color: var(--orange); /* Hover en Naranja */
}

p { margin-bottom: 15px; }
ul, li { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }

/* * ----------------------------------------------------------------------------------------
* 02. BUTTONS & UI ELEMENTS (CRO OPTIMIZED)
* ----------------------------------------------------------------------------------------
*/

/* Botón Principal (Azul INTEC) */
.blue_btn {
    background: var(--blue);
    border: 1px solid var(--blue);
    padding: 0 30px;
    color: var(--white);
    display: inline-block;
    height: 50px;
    line-height: 48px;  
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: .4s;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Efecto Hover: Cambia a Naranja para llamar la atención */
.blue_btn:hover,
.blue_btn:focus {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 109, 0, 0.3);
}

.border_btn {
    background: transparent;
    border: 2px solid var(--blue);
    padding: 0 30px;
    color: var(--blue);
    display: inline-block;
    height: 50px;
    line-height: 46px;  
    border-radius: 30px;
    font-weight: 600;
    transition: .4s;
}

.border_btn:hover {
    background: var(--blue);
    color: var(--white);
}

.round_btn { border-radius: 30px !important; }

/* Helpers */
.section-padding { padding: 80px 0; }
.mb30 { margin-bottom: 30px!important; }

.section-title { margin-bottom: 50px; }
.section-title span {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--orange); /* Subtítulos en Naranja */
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 1px;
}
.section-title h2 {
    font-size: 36px;
    color: var(--title);
    line-height: 1.3;
}

/* Preloader */
.preloader_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--white);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
}
.preloader {
    width: 80px;
    height: 80px;
    border: 3px solid var(--orange); /* Naranja */
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: rotation 1s linear infinite;
}
.pre_logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px; 
}
.preloader::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: var(--blue); /* Azul */
}
@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 

/* * ----------------------------------------------------------------------------------------
* 03. HEADER & MENU (SIMPLIFIED)
* ----------------------------------------------------------------------------------------
*/

.main-header {
    padding: 15px 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.site-logo img { width: 140px; }

/* Mobile Menu Button */
.menu_btn.sidebar__toggle { cursor: pointer; }
.offcanvas__overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 900;
    top: 0;
    opacity: 0;
    visibility: hidden;
    right: 0;
    transition: .3s;
}
.offcanvas__overlay.overlay-open { opacity: 1; visibility: visible; }

/* Offcanvas Content */
.offcanvas__info {
    background: var(--white);
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 99999;
    padding: 30px;
    overflow-y: auto;
}
.offcanvas__info.info-open { transform: translateX(0); }
.offcanvas__close button {
    background: var(--orange);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* * ----------------------------------------------------------------------------------------
* 04. HERO SECTION (BANNER)
* ----------------------------------------------------------------------------------------
*/

.home-banner {
    background-size: cover;
    padding: 140px 0 100px;
    background-position: center center;
    color: var(--white);
    position: relative;
    z-index: 1;
}
/* Overlay Azul Oscuro */
.home-banner:before {
    position: absolute;
    content: '';
    background: var(--blue); /* INTEC Azul */
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0.85; /* Más sólido para legibilidad */
}

/* * ----------------------------------------------------------------------------------------
* 05. FEATURES & SPECIALTIES (GRID)
* ----------------------------------------------------------------------------------------
*/

.category-item {
    border: 1px solid var(--dc);
    padding: 30px 20px;
    margin-bottom: 25px;
    border-radius: 15px;
    position: relative;
    transition: .4s;
    background: var(--white);
    text-align: center;
}
.category-item:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-2);
}
.category-item h5 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}
.specialty-icon {
    font-size: 40px;
    color: var(--blue);
    margin-bottom: 15px;
    display: block;
    transition: .3s;
}
.category-item:hover .specialty-icon {
    color: var(--orange);
}

/* * ----------------------------------------------------------------------------------------
* 06. COUNTERS & FACTS
* ----------------------------------------------------------------------------------------
*/

.counter-item {
    display: block;
    margin-bottom: 30px;
}
.coicon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(0, 19, 73, 0.1); /* Azul muy claro */
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    color: var(--blue);
    font-size: 30px;
}
.counter-item h3 {
    font-size: 32px;
    margin: 15px 0 5px;
    color: var(--blue);
}
.counter-item span {
    color: var(--body);
    font-weight: 500;
}

/* * ----------------------------------------------------------------------------------------
* 07. ABOUT & PLATFORM
* ----------------------------------------------------------------------------------------
*/

.about-us-two { background: var(--gray); }
.about_badge2 {
    background: var(--white);
    text-align: center;
    border-radius: 15px;
    padding: 20px;
    display: inline-block;
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ab_icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--orange); /* Icono en Naranja */
    color: white;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    font-size: 24px;
}
.cvbtn {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--white);
    color: var(--orange);
    text-align: center;
    border-radius: 50%;
    font-size: 24px;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: .3s;
}
.cvbtn:hover {
    background: var(--orange);
    color: var(--white);
}

/* * ----------------------------------------------------------------------------------------
* 08. TESTIMONIALS
* ----------------------------------------------------------------------------------------
*/

.testimonial2_item {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    position: relative;
    border: 1px solid #eee;
}
.tes_top h4 {
    font-size: 18px;
    margin-bottom: 0;
    color: var(--blue);
}
.tes_rating { color: var(--rating); }

/* * ----------------------------------------------------------------------------------------
* 09. DOCUMENTS & FAQ LIST
* ----------------------------------------------------------------------------------------
*/

.list-group-item {
    border: none;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    font-weight: 500;
}
.list-group-item i {
    color: var(--orange);
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}

/* * ----------------------------------------------------------------------------------------
* 10. CTA SECTION & FOOTER
* ----------------------------------------------------------------------------------------
*/

.cta2 {
    background-color: var(--blue);
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}
.footer-area {
    background-color: #000c2e; /* Azul aún más oscuro para footer */
    padding-top: 80px;
    color: #ccc;
}
.fstyle-two .ftitle { color: var(--white); }
.fsocial-option2 li a {
    color: var(--white);
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    background: rgba(255,255,255,0.1);
    text-align: center;
    border-radius: 50%;
}
.fsocial-option2 li a:hover {
    background: var(--orange);
}
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 14px;
}

/* * ----------------------------------------------------------------------------------------
* 11. CUSTOM CRO STYLES (Added for Landing Page)
* ----------------------------------------------------------------------------------------
*/

/* Formulario en Hero y Footer */
.cro-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.cro-form-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    transition: .3s;
}

.cro-form-input:focus {
    border-color: var(--orange);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
}

/* Sticky Mobile CTA (WhatsApp) */
.mobile-sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 9999;
    display: none; /* Se activa por Media Query */
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 50px;
}

.btn-whatsapp-sticky {
    background-color: var(--green);
    color: white !important;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.btn-whatsapp-sticky:hover {
    background-color: #1ebc57;
}

/* Microcopy */
.microcopy {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 8px;
    display: block;
    color: rgba(255,255,255,0.8);
}

/* * ----------------------------------------------------------------------------------------
* 12. RESPONSIVE
* ----------------------------------------------------------------------------------------
*/

@media (max-width: 768px) {
    .mobile-sticky-cta { display: block; }
    .section-padding { padding: 50px 0; }
    .home-banner { padding-top: 100px; }
    .home-banner h1 { font-size: 28px; }
    .cta2 { padding: 40px 20px; text-align: center; }
    .footer-area { padding-bottom: 90px; } /* Espacio para el sticky CTA */
}

/* Animations */
.aniupDown { animation: upDown 5s linear infinite alternate; }
@keyframes upDown {
  0% { transform:translateY(-15px) }
  100% { transform:translateY(0px) }
}

/* Alineación horizontal (quita el salto de línea) */
.fsocial-option2 {
    display: flex !important;  /* Fuerza a que se pongan en fila */
    justify-content: center;   /* Los centra horizontalmente */
    gap: 20px;                 /* Espacio entre el icono de Face e Insta */
    list-style: none;          /* Quita los puntos de lista */
    padding: 0;
    margin: 0;
}

/* Color y visibilidad de los iconos */
.fsocial-option2 li a {
    color: #0056b3 !important; /* Azul visible por defecto */
    font-size: 24px;           /* Tamaño del icono */
    display: block;            /* Asegura que el icono tenga cuerpo */
    transition: 0.3s;
}

/* Efecto al pasar el mouse (opcional, para que oscurezca un poco) */
.fsocial-option2 li a:hover {
    color: #001349 !important; /* Azul más oscuro al hacer hover */
    transform: translateY(-3px); /* Pequeña animación hacia arriba */
}