/* ========================================
   PRODUCT PAGE STYLES (SAE WEB)
   ======================================== */

.product-hero {
    padding: 160px 0 100px;
    background: var(--gradient-saeweb);
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.product-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: white;
    clip-path: ellipse(75% 100% at 50% 100%);
}

.feature-icon-large {
    width: 70px;
    height: 70px;
    background: rgba(0, 159, 227, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 159, 227, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.info-section {
    padding: 80px 0;
}

.info-card {
    border: none;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    display: block;
}

.info-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.highlight-box {
    background: rgba(0, 159, 227, 0.03);
    border-left: 4px solid var(--secondary-color);
    padding: 2.5rem;
    border-radius: 0 20px 20px 0;
    margin: 3rem 0;
}

.cta-bottom {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--dark-color) !important;
    font-weight: 500;
}

/* Laptop Image & Icons */
.product-laptop-img {
    filter: drop-shadow(0 20px 50px rgba(0, 159, 227, 0.15));
    transition: transform 0.4s ease;
}

.product-laptop-img:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.icon-circle i {
    margin: 0 !important;
    display: inline-block !important;
    line-height: 1;
}

/* Potentials Section - Icons must be white here */
.potentials-section .icon-circle i {
    color: white !important;
}

/* Potentials Section & Custom Layouts */
.container-custom {
    max-width: 1140px;
}

.potentials-section {
    position: relative;
    z-index: 1;
}

.potentials-section .info-card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

.potentials-section .info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 159, 227, 0.08) !important;
}

.check-list-v2 {
    margin-top: 1rem;
}

.check-list-v2 li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.check-list-v2 li::before {
    content: '\F272';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.check-list-v2 li strong {
    color: var(--dark-color);
}

/* Custom Icon Backgrounds with Brand Colors */
.bg-brand-primary {
    background: var(--gradient-primary) !important;
}

.bg-brand-secondary {
    background: var(--secondary-color) !important;
}

.bg-brand-green {
    background: var(--green-dark) !important;
}

.bg-brand-orange {
    background: var(--orange) !important;
}

.bg-brand-purple {
    background: var(--purple) !important;
}

.bg-brand-muted {
    background: var(--text-muted) !important;
}

/* ==========================================
   MODULES TABS SECTION - REDESIGN
   ========================================== */

.modules-tabs-section {
    background: linear-gradient(180deg, #f0f7ff 0%, #f8fbff 60%, #fff 100%);
    padding: 5rem 0 6rem;
}


.modules-section-badge {
    background: linear-gradient(135deg, #0253ac, #009fe3);
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
}

/* ---- Tab Nav ---- */
.modules-tab-nav-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.modules-tab-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.category-tabs {
    gap: 10px;
    width: max-content;
    margin: 0 auto;
    padding: 4px 2px;
}

.category-tabs .nav-item {
    flex: 0 0 auto;
}

.category-tab-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555 !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    border: 1.5px solid rgba(0, 0, 0, 0.06) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap;
}

.category-tab-btn i {
    font-size: 1rem;
}

.category-tab-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
}

.category-tab-btn.active {
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
    transform: translateY(-2px) !important;
}

#movil-tab.active {
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
}

#administrativos-tab.active {
    background: linear-gradient(135deg, #0253ac, #009fe3) !important;
}

#academicos-tab.active {
    background: linear-gradient(135deg, #059669, #34d399) !important;
}

#comunicaciones-tab.active {
    background: linear-gradient(135deg, #0891b2, #22d3ee) !important;
}

#admision-tab.active {
    background: linear-gradient(135deg, #d97706, #fbbf24) !important;
}

#seguridad-tab.active {
    background: linear-gradient(135deg, #dc2626, #f87171) !important;
}

/* ---- Category Header ---- */
.modules-carousel-header {
    animation: fadeSlideUp 0.35s ease both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.9rem;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ---- Module Cards (3-col layout) ---- */
.module-carousel-3 {
    padding-bottom: 3.5rem;
}

.mod-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.mod-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.mod-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
}

.mod-card-desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.mod-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: center;
}

/* ---- Carousel Nav Buttons ---- */
.mod-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    color: var(--nav-color, #009fe3);
    border: 2px solid var(--nav-color, #009fe3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 1;
    top: 38%;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.mod-nav:hover {
    background: var(--nav-color, #009fe3);
    color: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.carousel-control-prev.mod-nav {
    left: -10px;
}

.carousel-control-next.mod-nav {
    right: -10px;
}

/* ---- Carousel Indicators ---- */
.mod-indicators {
    bottom: 0;
    margin-bottom: 0;
    gap: 8px;
}

.mod-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    opacity: 1;
    margin: 0;
    transition: all 0.3s ease;
    padding: 0;
}

.mod-indicators button.active {
    width: 24px;
    border-radius: 4px;
    background: var(--ind-color, #009fe3);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .mod-nav {
        display: none;
    }

    .mod-card {
        padding: 1.5rem 1.25rem;
    }
}



.bg-primary-subtle {
    background-color: rgba(2, 83, 172, 0.08) !important;
}

.bg-success-subtle {
    background-color: rgba(23, 213, 151, 0.1) !important;
}

@media (max-width: 991px) {
    .product-hero {
        padding: 120px 0 70px;
    }

    .info-section {
        padding: 60px 0;
    }

    .cta-bottom {
        padding: 70px 0;
    }

    .modules-tabs-section {
        padding: 3.5rem 0 4rem;
    }

    .potentials-section .text-center {
        text-align: center !important;
    }

    .laptop-feature-section {
        text-align: center;
    }

    .laptop-feature-section .ps-lg-4 {
        padding-left: 0 !important;
        margin-top: 2rem;
    }

    .laptop-feature-section .d-flex {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .product-hero {
        padding: 100px 0 50px;
        text-align: center;
    }

    .product-hero h1 {
        font-size: 1.65rem;
    }

    .product-hero p {
        font-size: 0.9rem;
    }

    .product-hero .breadcrumb {
        justify-content: center;
    }

    .feature-icon-large {
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
        margin-bottom: 1.25rem;
    }

    .info-section {
        padding: 40px 0;
    }

    .info-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .info-card i {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .info-card h4 {
        font-size: 1rem;
    }

    .highlight-box {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .cta-bottom {
        padding: 50px 0;
    }

    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
        border-radius: 10px;
    }

    .check-list-v2 li {
        font-size: 0.88rem;
    }

    /* Modules tabs */
    .modules-tabs-section {
        padding: 2.5rem 0 3rem;
    }

    .category-tab-btn {
        padding: 8px 16px !important;
        font-size: 0.82rem;
    }

    .category-icon-badge {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 16px;
    }
}

/* ==========================================
   SEGUIMIENTO EDUCATIVO SECTION
   ========================================== */

.seguimiento-section {
    background: linear-gradient(180deg, #dceefb 0%, #e8f4fd 50%, #f0f7ff 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.seguimiento-showcase {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 480px;
    position: relative;
}

/* ---- Side Phones (Left & Right) ---- */
.seg-side-phone {
    flex: 0 0 210px;
    text-align: center;
    z-index: 3;
}

.seg-phone-frame {
    width: 210px;
    background: #111;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.seg-phone-frame img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.seg-phone-caption {
    margin-top: 12px;
    font-size: .82rem;
    font-weight: 600;
    color: #555;
}

.seg-phone-caption i {
    margin-right: 4px;
    color: var(--secondary-color);
}

/* ---- Center Area (Laptop + Floating Cards) ---- */
.seg-center {
    flex: 1;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seg-center-visual {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.seg-center-visual img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

/* ---- Floating Subject Cards ---- */
.seg-subject-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 2;
    white-space: nowrap;
    animation: segFloat 4s ease-in-out infinite;
}

@keyframes segFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.seg-float-1 { animation-delay: 0s; }
.seg-float-2 { animation-delay: -0.7s; }
.seg-float-3 { animation-delay: -1.4s; }
.seg-float-4 { animation-delay: -2.1s; }
.seg-float-5 { animation-delay: -2.8s; }
.seg-float-6 { animation-delay: -3.5s; }

.seg-subj-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.seg-subj-name {
    font-size: .82rem;
    font-weight: 600;
    color: #333;
}

.seg-subj-pts {
    font-size: .75rem;
    color: #888;
    font-weight: 500;
}

/* ---- Decorative Pencil ---- */
.seg-deco-pencil {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.06);
    transform: rotate(-30deg);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .seguimiento-showcase {
        flex-direction: column;
        gap: 30px;
    }

    .seg-side-phone {
        flex: none;
    }

    .seg-center {
        min-height: auto;
        width: 100%;
    }

    .seg-subject-card {
        display: none;
    }

    .seg-center-visual {
        max-width: 360px;
    }
}

@media (max-width: 767px) {
    .seguimiento-section {
        padding: 50px 0 40px;
    }

    .seg-phone-frame {
        width: 180px;
    }

    .seg-center-visual {
        max-width: 280px;
    }
}