body {
background-color: white; /* Ensure the iframe has a white background */
}

/* ========================================
   CSS STYLE - style.css
   ======================================== */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #656b79;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #3b82f6;
}

.section-title p {
    margin-top: 15px;
    color: #64748b;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-bar-strip {
    background: rgba(220, 220, 220, 0.75);
    backdrop-filter: blur(5px);
    width: 100%;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled .nav-bar-strip {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.logo span {
    color: #656b79;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #656b79;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #2563eb;
}

.nav-links a.active::after {
    width: 100%;
    background: #2563eb;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #656b79;
}

/* ========================================
   DROPDOWN MENU
   ======================================== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #656b79;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown > a i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Mobile */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        margin-top: 10px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding-left: 40px;
    }
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
}


.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 2;
}

.slide-content {
    max-width: 650px;
    padding: 0 30px;
    color: white;
    margin-left: 10%;
    margin-bottom: -100px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 5%;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slide-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/index/1a.webp');
    background-size: cover;              
    background-position: center;         
    background-repeat: no-repeat;        
}

.slide-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/index/1b.webp');
    background-size: cover;              
    background-position: center;         
    background-repeat: no-repeat;
}

.slide-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/index/1c.webp');
    background-size: cover;              
    background-position: center;         
    background-repeat: no-repeat;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* ========================================
   SLIDE BUTTON IMAGE
   ======================================== */
.slide-btn-img {
    max-width: 250px;    /* ⚠️ AJUSTA ESTO según tu imagen */
    height: auto;        /* Mantiene proporción */
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 5px;
}

.slide-btn-img:hover {
    transform: scale(1.05);
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .slide-btn-img {
        max-width: 150px;    /* ⚠️ Más pequeño en móvil */
    }
}

.slide-btn-img {
    max-width: 500px;    /* ← CAMBIA ESTO: 150px, 200px, 300px, etc. */
    height: auto;        /* ← NO TOCAR: mantiene proporción */
}


/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-video-container {
    flex: 1;
    max-width: 360px;
    width: 100%;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    background: #000;
}

.about-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
    text-align: justify;
}

.about-text h3 {
    font-size: 28px;
    color: #656b79;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #64748b;
}

.certified-box {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.certified-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.certified-icon i {
    font-size: 28px;
    color: #2563eb;
}

.certified-text h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.certified-text p {
    color: #64748b;
    margin: 0;
}

/* ========================================
   PROYECTOS SECTION
   ======================================== */
.proyectos-section {
    background: #f8fafc;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.proyecto-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px 20px;
}

.proyecto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.proyecto-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.proyecto-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.proyecto-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.proyecto-card p {
    color: #64748b;
}

/* ========================================
   ESTADISTICAS SECTION
   ======================================== */
.estadisticas-section {
    background: linear-gradient(to right, #2563eb, #1e40af);
    color: white;
    text-align: center;
}

.estadisticas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-text {
    font-size: 18px;
    font-weight: 500;
}

/* ========================================
   PROYECTOS AUTORIZADOS SECTION
   ======================================== */
.proyectos-autorizados-section {
    background: #ffffff;
}

.proyectos-autorizados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.pa-card {
    background: white;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.pa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pa-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pa-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.pa-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ========================================
   INFORMACION GENERAL SECTION
   ======================================== */
.informacion-general-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url('../img/IEEEUnivalle/IEEE1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    
    padding: 100px 0;
}

.informacion-content {
    max-width: 800px;
    margin: 0 auto;
}

.informacion-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.informacion-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-align: justify;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
}

.contact-icon {
    font-size: 28px;
    color: #3b82f6;
}

.contact-text h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    opacity: 0.9;
    text-align: center;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    background: #f8fafc;
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
}

.testimonial-slide {
    background: white;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: all;
}

.testimonial-slide::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    color: rgba(37, 99, 235, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    color: #64748b;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid #3b82f6;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    font-size: 18px;
}

.author-title {
    color: #64748b;
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f0e8e2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients-section {
    background: #ffffff;
    padding: 60px 0;
}

.clients-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-width: 160px;
    max-height: 200px;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    background: #f8fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-img {
    height: 300px;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
}

.member-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.member-role {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: #323232;
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 22px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #3b82f6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #3b82f6;
    font-size: 18px;
    margin-right: 15px;
    margin-top: 3px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 48px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-video-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .slide-content {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .informacion-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 80vh;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .informacion-content h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

