/* Premium Enterprise CSS for Asetemet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #6d344c; /* Granate Asetemet */
    --primary-light: #8a4562;
    --primary-dark: #4d2335;
    
    --secondary: #95ca18; /* Verde Lima Asetemet */
    --secondary-light: #a9de2a;
    
    --bg-main: #FFFFFF;
    --bg-surface: #F9FAFB;
    --bg-surface-alt: #F3F4F6;
    
    --text-heading: #0F172A;
    --text-body: #475569;
    --text-muted: #94A3B8;
    
    --border-light: #E2E8F0;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    --shadow-premium: 0 25px 50px -12px rgba(109, 52, 76, 0.15); /* Subtle garnet shadow for premium feel */
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    padding: 8rem 0;
    position: relative;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(109, 52, 76, 0.39);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 52, 76, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-heading);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 100%;
    padding: 0 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-heading);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #4B5563; /* Subtle gray for rest state */
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #111827; /* Dark text on hover */
    background-color: rgba(0, 0, 0, 0.04); /* Subtle pill effect */
}

.nav-links a.active {
    color: var(--primary);
    background-color: rgba(109, 52, 76, 0.08); /* Light primary background */
    font-weight: 600;
}

/* Premium Hero */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero_industry.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.4) 100%);
    z-index: -1;
}

.hero-content {
    /* max-width removed to allow inline width 50% to dictate the layout */
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(149, 202, 24, 0.15);
    color: #456108;
    border: 1px solid rgba(149, 202, 24, 0.4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.badge-premium svg {
    margin-right: 0.5rem;
    color: var(--secondary);
}

/* Feature Cards Grid */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card-feature {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.card-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: transparent;
}

.card-feature:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--bg-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.card-feature:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

/* Split Section (Image + Text) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.8s ease;
}

.split-image-container:hover img {
    transform: scale(1.05);
}

/* Visor Pro Showcase */
.visor-showcase {
    background: var(--bg-surface-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.visor-showcase::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(149, 202, 24, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.visor-text {
    position: relative;
    z-index: 1;
}

.visor-text h2 {
    color: var(--text-heading);
}

.visor-text p {
    color: var(--text-body);
}

.imac-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mac-mockup {
    position: relative;
    background: #000;
    border-radius: 20px 20px 0 0;
    padding: 24px 24px 0 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 2px solid #222;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* iMac chin */
.mac-mockup::after {
    content: '';
    display: block;
    height: 60px;
    background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
    border-radius: 0 0 20px 20px;
    margin-left: -24px;
    margin-right: -24px;
    border-top: 2px solid #000;
}

.mac-mockup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.imac-stand {
    width: 25%;
    height: 50px;
    background: linear-gradient(to bottom, #d4d4d4, #9ca3af);
    position: relative;
    z-index: 0;
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
    box-shadow: inset 0px 5px 10px rgba(0,0,0,0.2);
}

.imac-base {
    width: 35%;
    height: 8px;
    background: #9ca3af;
    border-radius: 4px 4px 0 0;
}

.mac-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.mac-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mac-dot.red { background: #ff5f56; }
.mac-dot.yellow { background: #ffbd2e; }
.mac-dot.green { background: #27c93f; }

/* Large Banner Call to Action */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0,50 Q25,25 50,50 T100,50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') center/cover;
    opacity: 0.5;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: var(--bg-surface);
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
}

@media (max-width: 992px) {
    .split-section { grid-template-columns: 1fr; gap: 2rem; }
    .visor-showcase { grid-template-columns: 1fr; padding: 3rem 2rem; }
}

/* RESPONSIVE DESIGN - MOBILE & TABLET */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .split-section { grid-template-columns: 1fr; gap: 3rem; }
    .visor-showcase { grid-template-columns: 1fr; padding: 4rem 2rem; }
    .course-detail-layout { grid-template-columns: 1fr; gap: 3rem; }
    .section { padding: 5rem 0; }
    .hero { padding: 10rem 0 5rem; }
    .container { padding: 0 1.5rem; }
    .nav-container { padding: 0 1.5rem; }
    
    /* Footer stacking */
    footer .container > div {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center;
    }
    footer ul {
        align-items: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .section { padding: 4rem 0; }
    .hero { padding: 7rem 0 4rem; min-height: 70vh; }
    
    /* Mobile Menu */
    .mobile-menu-btn { display: block; }
    .nav-links { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
        gap: 1.5rem;
        border-top: 1px solid var(--border-light);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        font-size: 1.15rem;
        text-align: center;
        padding: 1rem;
    }
    
    /* Buttons */
    .hero-content .btn { width: 100%; margin-bottom: 1rem; }
    .course-filters { flex-direction: column; width: 100%; }
    .filter-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .card-feature { padding: 1.5rem; }
    .sticky-sidebar { padding: 1.5rem; }
}
/* Courses Grid (Formacin) */
.courses-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.course-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
    border-color: #e2e8f0;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 3.5rem;
}

.course-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.course-btn {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background: var(--bg-surface-alt);
    color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--primary);
}

.course-btn:hover {
    background: var(--primary);
    color: white;
}

.course-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.course-card:hover .course-img-wrapper img {
    transform: scale(1.05);
}
.course-content {
    padding: 2rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Course Detail Layout */
.course-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    padding: 4rem 0;
}

@media (max-width: 992px) {
    .course-detail-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.course-main-content h2 {
    color: var(--text-heading);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.course-main-content h2:first-child {
    margin-top: 0;
}

.course-main-content p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.syllabus-module {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.syllabus-module h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
}

.syllabus-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syllabus-list li {
    padding: 0.75rem 0 0.75rem 30px;
    color: var(--text-body);
    border-bottom: 1px dashed var(--border-light);
    position: relative;
    line-height: 1.6;
}

.syllabus-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.syllabus-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1f3d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 4px;
}

.sticky-sidebar-wrapper {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.sidebar-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-info-content h4 {
    color: var(--text-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.sidebar-info-content p {
    color: var(--text-body);
    font-size: 1.05rem;
    font-weight: 500;
}




/* Course Filters */
.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-light);
    background: white;
    border-radius: 30px;
    color: var(--text-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.filter-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}


/* Certification Badges */
.course-img-wrapper {
    position: relative;
}
.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 75px;
    height: 75px;
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}
.cert-badge:hover {
    transform: scale(1.05) rotate(5deg);
}
