/* ==========================================================================
   Premium Design System - Educar FodenFlow (Original WordPress Match)
   ========================================================================== */

/* Variables */
:root {
    --primary-color: #fa2964;     /* Vibrant Pink/Magenta from DB Option */
    --accent-color: #fa2964;      /* Same Accent Highlight */
    --text-main: #272727;         /* Charcoal black */
    --text-muted: #7A7A7A;        /* Muted gray text */
    --bg-light: #f7f7f7;          /* Soft gray section background */
    --bg-white: #ffffff;
    --border-color: #e1e1e1;
    --font-sans: 'Jost', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #000000;
}

p {
    margin-bottom: 24px;
    color: var(--text-main);
}

/* Utility Classes */
.text-center { text-align: center; }
.margin-top-md { margin-top: 24px; }
.margin-top-lg { margin-top: 48px; }
.alternate-bg { background-color: var(--bg-light); }
.align-start { align-items: flex-start; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #000000;
    color: var(--bg-white);
    padding: 14px 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0px; /* Flat edges */
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.btn-primary.btn-light {
    background-color: var(--bg-white);
    color: #000000;
}

.btn-primary.btn-light:hover {
    background-color: #000000;
    color: var(--bg-white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-text {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
}

.btn-text i {
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* Badges */
.badge {
    display: inline-block;
    background: rgba(250, 41, 100, 0.1);
    color: var(--accent-color);
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color var(--transition-normal), border-bottom var(--transition-normal);
    padding: 24px 0;
    border-bottom: 1px solid transparent;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    transition: filter var(--transition-fast);
}

/* Transparent Header (default for Homepage at top) */
.site-header.transparent-header {
    background-color: transparent;
}

.site-header.transparent-header .logo-img {
    filter: brightness(0) invert(1); /* Dynamic white filter for transparent dark BGs */
}

.site-header.transparent-header .nav-menu a {
    color: var(--bg-white);
}

.site-header.transparent-header .nav-menu a:not(.client-portal-btn):not(.nav-contact-btn)::after {
    background-color: var(--bg-white);
}

/* White Header (default for subpages, or scrolled homepage) */
.site-header.white-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.site-header.white-header .logo-img {
    filter: none; /* Show original colors */
}

.site-header.white-header .nav-menu a {
    color: #000000;
}

.site-header.white-header .nav-menu a:not(.client-portal-btn):not(.nav-contact-btn)::after {
    background-color: var(--accent-color);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-menu a:not(.client-portal-btn):not(.nav-contact-btn):not(.nav-platform-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px; /* Slightly thicker underline matching original */
    transition: width var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: inherit;
}

.site-header.white-header .nav-menu a.active {
    color: var(--accent-color) !important;
}

/* Dropdown Menu (Submenu Matching Screenshot) */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children .dropdown-trigger i {
    font-size: 10px;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.menu-item-has-children:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0; /* Left aligned, not centered! */
    background-color: var(--bg-white);
    border: none; /* No border! */
    border-radius: 0px; /* Flat corners */
    box-shadow: var(--shadow-lg); /* Soft shadows */
    padding: 20px 24px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.sub-menu a {
    padding: 4px 0 !important;
    width: 100%;
    display: block;
    color: #000000 !important;
    font-weight: 400 !important;
}

.sub-menu a:hover {
    color: var(--accent-color) !important;
}

.sub-menu a::after {
    display: none !important;
}

/* Special Button Links in Nav */
.client-portal-btn {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.nav-platform-btn {
    display: inline-block;
    padding: 8px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0px;
    transition: var(--transition-fast) !important;
}

/* Transparent state button styling */
.transparent-header .nav-platform-btn {
    border: 1.5px solid #ffffff;
    color: #ffffff !important;
    background-color: transparent;
}

.transparent-header .nav-platform-btn:hover {
    background-color: #ffffff;
    color: var(--primary-color) !important;
}

/* White state button styling */
.white-header .nav-platform-btn {
    border: 1.5px solid var(--primary-color);
    color: #ffffff !important;
    background-color: var(--primary-color);
}

.white-header .nav-platform-btn:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

.site-header.transparent-header .mobile-menu-toggle .bar {
    background-color: var(--bg-white);
}

/* Slideshow Hero Section */
.hero-section {
    position: relative;
    height: 700px;
    background-color: #000000;
    color: var(--bg-white);
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Overlay Colors matching original slides */
.hero-slide:nth-child(1) .hero-slide-overlay {
    background-color: rgba(250, 41, 100, 0.82); /* Pink Overlay */
}

.hero-slide:nth-child(2) .hero-slide-overlay {
    background-color: rgba(92, 184, 60, 0.82);  /* Green/Lime Overlay from user screenshot */
}

.hero-slide:nth-child(3) .hero-slide-overlay {
    background-color: rgba(15, 80, 188, 0.82);  /* Blue Overlay */
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-slide-content h1 {
    font-size: 84px;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-slide-content p {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* Wave Shape Divider */
.shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 3;
}

.shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.shape-divider-bottom .shape-fill {
    fill: #ffffff;
}

/* Page Hero */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding: 240px 24px 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45); /* Elegant Dark overlay */
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

/* Page Specific Hero BGs */
.about-hero {
    background-image: url('/assets/uploads/2021/05/impeka-about-1-img-01.jpg');
}

.contact-hero {
    background-image: url('/assets/uploads/2021/05/impeka-home-1-img-02-1.jpg');
}

/* Section Common Layouts */
.info-section {
    padding: 100px 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header {
    max-width: 600px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 36px;
}

/* Grids */
.grid-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    align-items: center;
}

/* Premium Features Grid Styling */
.features-grid-section {
    padding: 100px 24px;
}

.features-header {
    max-width: 800px;
    margin: 0 auto 85px;
    text-align: center;
}

.features-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 24px;
    margin-bottom: 12px;
}

.features-header h2 {
    font-size: 48px;
    font-weight: 600;
    color: #000000;
    line-height: 56px;
    margin-bottom: 0;
}

.feature-card-premium {
    background-color: transparent;
    padding: 60px 50px;
    border: 0.8px solid var(--border-color);
    border-radius: 3px;
    transition: var(--transition-normal);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card-premium:hover {
    border-color: #bbbbbb;
    transform: translateY(-4px);
}

.feature-img-wrapper-left {
    width: 85px;
    height: 85px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.feature-img-wrapper-left img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-card-premium h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    line-height: 32px;
    margin-bottom: 10px;
}

.feature-card-premium p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-main);
    line-height: 24px;
    margin-bottom: 0;
}

/* Service Banners */
/* Alternating Services Layout */
.home-services-alternating {
    padding: 50px 0 80px;
    background-color: var(--bg-white);
}

.alternating-rows-container {
    display: flex;
    flex-direction: column;
    gap: 35px; /* spacing between rows */
    max-width: 1140px;
    margin: 0 auto;
}

.service-alt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.service-alt-row.reverse-row {
    flex-direction: row-reverse;
}

.service-alt-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-alt-col img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.service-alt-col.col-img img {
    max-height: 290px;
    transition: transform var(--transition-normal);
}

.service-alt-col.col-img img:hover {
    transform: scale(1.05);
}

.service-title-banner {
    max-height: 80px;
    width: auto;
    transition: transform var(--transition-normal);
}

.service-title-banner:hover {
    transform: scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
    .service-alt-row, .service-alt-row.reverse-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .alternating-rows-container {
        gap: 60px;
    }
}

.why-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 0px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
}

.why-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Image Full Responsive */
.responsive-img-full {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.shadow-effect {
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Accent List */
.accent-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.accent-list li i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Metaverso Banner Section */
.metaverso-banner-section {
    position: relative;
    background-image: url('/assets/uploads/2022/02/2013-10-22-Universal-Campus-1.jpg');
    background-size: cover;
    background-position: center;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.metaverso-card {
    background-color: #ffffff;
    padding: 40px 60px;
    width: 100%;
    max-width: 680px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.metaverso-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.metaverso-logo .meta-text {
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #8c8c8c;
    text-transform: lowercase;
    line-height: 1;
}

.metaverso-logo .educar-text {
    font-family: var(--font-sans);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8c8c8c;
    line-height: 1.1;
    margin-top: 5px;
}

.metaverso-logo .f-pink {
    color: var(--primary-color);
}

.proximamente-text {
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 6px;
    color: #000000;
    margin: 15px 0 0 0;
    line-height: 1;
}

@media (max-width: 768px) {
    .metaverso-banner-section {
        height: 360px;
    }
    
    .metaverso-card {
        padding: 30px 40px;
    }
    
    .metaverso-logo .meta-text {
        font-size: 20px;
    }
    
    .metaverso-logo .educar-text {
        font-size: 34px;
    }
    
    .proximamente-text {
        font-size: 26px;
        letter-spacing: 4px;
    }
}

/* Trust Banner & Clients Grid */
.trust-banner-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #b30f3f 100%);
    color: var(--bg-white);
}

.trust-banner-section h2 {
    color: var(--bg-white);
    font-size: 32px;
}

.clients-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.clients-logo-grid img {
    width: 120px;
    height: 70px;
    object-fit: contain;
    background-color: transparent;
    padding: 8px;
    box-shadow: none;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.clients-logo-grid img:hover {
    transform: scale(1.08);
}

/* Service Details Section */
.service-details-section {
    padding: 100px 0;
}

.accent-subtitle {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 500;
}

.accent-checklist-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.accent-checklist-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.accent-checklist-features li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 5px;
}

/* Forms & Grids */
.grid-two-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-three-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quote-form-container,
.contact-form-container {
    perspective: 1000px;
}

.quote-form-card,
.contact-form-card {
    background-color: var(--bg-light); /* Matching container gray background */
    border: none;
    border-radius: 0px; /* Flat edges */
    padding: 40px;
    box-shadow: none;
}

.quote-form-card h3,
.contact-form-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.quote-form-card p,
.contact-form-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: none; /* Flat borders */
    background-color: var(--bg-white);
    border-radius: 0px; /* Flat edges */
    font-family: var(--font-sans);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

.process-card {
    position: relative;
    padding: 40px 24px;
}

.process-number {
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(250, 41, 100, 0.15) 0%, rgba(167, 18, 249, 0.15) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 0;
    left: 20px;
    line-height: 1;
    z-index: 1;
}

.process-card h3 {
    position: relative;
    z-index: 2;
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.process-card p {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
}

/* About Us - Team Quote Cyan */
.team-quote-cyan {
    background-color: #11D8E9;
    padding: 80px 24px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.team-quote-cyan h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 12px;
}

.team-quote-cyan .quote-text {
    color: #ffffff;
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Accordion Widget Styles */
.accordion-container {
    margin-top: 32px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 16px 0;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    text-align: left;
}

.accordion-header i {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-content p {
    padding: 0 0 16px;
    margin: 0;
    font-size: 15px;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    max-height: 120px;
}

/* Contact Details Page */
.contact-section {
    padding: 100px 0;
}

.contact-info-panel {
    padding-right: 48px;
}

.contact-info-panel h2 {
    font-size: 36px;
}

.contact-details-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-detail-item i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(250, 41, 100, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-detail-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-detail-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.form-success-alert {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0px;
    padding: 40px;
    text-align: center;
}

.form-success-alert i {
    font-size: 64px;
    color: #16a34a;
    margin-bottom: 24px;
}

.form-success-alert p {
    font-size: 18px;
    color: #166534;
    margin-bottom: 24px;
}

/* Section 404 */
.section-404 {
    padding: 180px 24px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.container-404 h1 {
    font-size: 120px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 16px;
}

.container-404 h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.container-404 p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

/* Footer */
.site-footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand .accent-text {
    color: var(--primary-color);
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
    border-color: var(--accent-color);
}

.footer-links h3,
.footer-services h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--text-muted);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 44px;
    }
    .grid-three-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Mobile Navigation */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 100px 40px;
        transition: right var(--transition-normal);
        z-index: 1000;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .menu-item-has-children {
        width: 100%;
    }
    
    .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 20px;
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-fast);
    }
    
    .menu-item-has-children.active .sub-menu {
        max-height: 300px;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Grids & Content */
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reverse-order {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-placeholder-gradient {
        height: 280px;
    }
    
    .clients-logo-grid img {
        width: 90px;
        height: 55px;
    }
    
    /* Contact Forms Mobiles */
    .grid-two-inputs, .grid-three-inputs {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .page-hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 480px) {
    .grid-three-cols {
        grid-template-columns: 1fr;
    }
    .quote-form-card,
    .contact-form-card {
        padding: 24px;
    }
}


/* Global Training Section */
.global-training-section {
    background-color: #ADAAAA;
    padding: 80px 24px;
    color: #000000;
}

.global-training-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1092px;
    margin: 0 auto;
}

.global-training-col {
    flex: 1;
}

.global-training-col h2 {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.25;
    color: #000000;
    margin-bottom: 0;
}

.global-training-col p {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 0;
}

/* Monitored Section */
.monitored-section {
    position: relative;
    padding: 80px 24px 120px;
    overflow: hidden;
    background-color: #f7f7f7;
}

.monitored-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0F50BC 20%, #EBD1D8 100%);
    opacity: 0.5;
    z-index: 1;
}

.monitored-section .container {
    position: relative;
    z-index: 2;
    max-width: 1410px;
    margin: 0 auto;
}

.monitored-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.monitored-col.col-img {
    flex: 2;
    display: flex;
    justify-content: center;
}

.monitored-col.col-img img {
    max-width: 100%;
    height: auto;
    max-height: 540px;
}

.monitored-col.col-text {
    flex: 1;
}

.monitored-col.col-text h2 {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.25;
    color: #000000;
    margin-bottom: 24px;
}

.monitored-col.col-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .global-training-row, .monitored-row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .global-training-col h2, .monitored-col.col-text h2 {
        font-size: 32px;
    }
}


/* Why Choose Us Section */
.why-us-section {
    padding: 100px 24px;
    background-color: var(--bg-white);
}

.why-us-info-left {
    flex: 1.2;
}

.why-us-info-left h2 {
    font-size: 44px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
    line-height: 1.25;
}

.why-us-image-right {
    flex: 0.8;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-us-image-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250, 41, 100, 0.72); /* Brand color overlay */
    mix-blend-mode: multiply;
    pointer-events: none;
}

.why-us-image-right img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive adjustment for Why Us */
@media (max-width: 991px) {
    .why-us-section .grid-two-cols {
        flex-direction: column;
        gap: 50px;
    }
    
    .why-us-info-left h2 {
        font-size: 32px;
        text-align: center;
    }
    
    .why-us-image-right {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}


/* ==========================================================================
   Nosotros / About Page Premium Redesign
   ========================================================================== */

.about-hero-fullscreen {
    position: relative;
    height: 700px;
    background-image: url('/assets/uploads/2022/02/1471.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(180deg, rgba(255, 68, 51, 0.8) 0%, rgb(255, 68, 51) 100%);
    z-index: 1;
}

.about-hero-fullscreen .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.about-hero-fullscreen h1 {
    font-size: 84px;
    font-weight: 600;
    line-height: 96px;
    color: var(--bg-white);
    margin-bottom: 0;
    letter-spacing: -1px;
}

.shape-divider-bottom-white {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.shape-divider-bottom-white svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

/* About Intro Section */
.about-intro-section-new {
    padding: 100px 24px;
    background-color: var(--bg-white);
}

.intro-header-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-header-centered h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #262727;
    margin-bottom: 40px;
}

.intro-blockquote-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.intro-blockquote-wrapper blockquote {
    border-left: 1.6px solid rgb(255, 68, 51);
    padding-left: 28px;
    margin: 0;
}

.intro-blockquote-wrapper blockquote p {
    font-family: var(--font-sans);
    font-size: 24px;
    line-height: 36px;
    color: #000000;
    margin-bottom: 30px;
}

.intro-blockquote-wrapper blockquote p:last-child {
    margin-bottom: 0;
}

/* Team Quote Section */
.about-team-quote-section {
    background-color: #11D8E9;
    padding: 80px 24px;
}

.team-quote-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.team-quote-col-left {
    flex: 1;
}

.team-quote-col-left h1 {
    font-family: var(--font-sans);
    font-size: 56px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0;
}

.team-quote-col-right {
    flex: 1;
}

.team-quote-col-right p {
    font-family: var(--font-sans);
    font-size: 24px;
    line-height: 36px;
    color: #000000;
    margin-bottom: 0;
}

/* Compatibility Section */
.compatibility-section-new {
    padding: 100px 24px;
    background-color: var(--bg-white);
}

.compatibility-section-new h2 {
    font-family: var(--font-sans);
    font-size: 48px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 40px;
}

.compat-image-right-new {
    display: flex;
    justify-content: center;
}

.compat-image-right-new img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Callout Section */
.about-callout-section {
    background-color: #E0DDDA;
    padding: 120px 24px;
    text-align: center;
}

.about-callout-section h2 {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
}

.about-callout-section p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #7a7a7a;
    line-height: 26px;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 0;
}

/* Responsive for new about page */
@media (max-width: 768px) {
    .about-hero-fullscreen h1 {
        font-size: 48px;
        line-height: 58px;
    }
    
    .intro-header-centered h2 {
        font-size: 30px;
    }
    
    .intro-blockquote-wrapper blockquote p {
        font-size: 18px;
        line-height: 28px;
    }
    
    .team-quote-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .team-quote-col-left h1 {
        font-size: 36px;
    }
    
    .team-quote-col-right p {
        font-size: 18px;
        line-height: 28px;
    }
    
    .compatibility-section-new h2 {
        font-size: 32px;
        text-align: center;
    }
    
    .about-callout-section h2 {
        font-size: 26px;
    }
}


/* ==========================================================================
   Servicios / Escuelas Virtuales Premium Redesign
   ========================================================================== */

.services-hero-orange {
    background-color: #f98012;
    padding: 185px 24px 123px;
    color: var(--bg-white);
    text-align: left;
}

.services-hero-purple {
    background-color: #a712f9;
    padding: 185px 24px 123px;
    color: var(--bg-white);
    text-align: left;
}

.services-hero-green {
    background-color: #01981E;
    padding: 185px 24px 123px;
    color: var(--bg-white);
    text-align: left;
}

.services-hero-orange .container,
.services-hero-purple .container,
.services-hero-green .container {
    max-width: 1140px;
    margin: 0 auto;
}

.services-hero-orange h1,
.services-hero-purple h1,
.services-hero-green h1 {
    font-family: var(--font-sans);
    font-size: 56px;
    font-weight: 600;
    line-height: 64px;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.services-hero-leader {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    color: var(--bg-white);
    margin-bottom: 0;
}

/* Intro Section */
.services-intro-section {
    padding: 120px 24px;
    background-color: transparent;
}

.services-intro-wrap {
    max-width: 562px;
    margin: 0 auto;
    text-align: center;
}

.services-intro-subtitle {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000000;
    display: block;
    margin-bottom: 12px;
}

.services-intro-wrap h3 {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #000000;
    margin-bottom: 0;
}

/* Features grid */
.services-features-section {
    padding: 0 24px 120px;
    background-color: transparent;
}

.services-features-section .container {
    max-width: 1140px;
    margin: 0 auto;
}

.services-features-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.services-features-col-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.services-features-col-img img {
    max-width: 100%;
    height: auto;
}

.services-features-col-list {
    flex: 1;
}

.services-checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.services-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #54595f;
    line-height: 24px;
}

.services-checklist li i {
    color: #6ec1e4;
    font-size: 14px;
    margin-top: 5px;
}

.services-checklist.dark-check li i {
    color: #272727;
}

/* Bottom process row */
.services-process-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.services-process-col {
    flex: 1;
}

.services-process-col h3 {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 32px;
    margin-bottom: 12px;
}

.process-num-red {
    color: #000000;
}

.services-process-col p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #7a7a7a;
    line-height: 24px;
    margin-bottom: 0;
}

/* Form CTA Section */
.services-cta-header-section {
    padding: 60px 24px 20px;
    background-color: transparent;
    text-align: center;
}

.services-cta-header-section h2 {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    color: #000000;
    margin-bottom: 0;
}

.services-form-section {
    padding: 0 24px 120px;
    background-color: transparent;
}

.services-form-section .container {
    max-width: 1140px;
    margin: 0 auto;
}

.services-form-left-col {
    flex: 1.2;
}

.services-form-right-col {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.services-form-right-col img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.services-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-form-row {
    display: flex;
    gap: 20px;
}

.services-form-half {
    flex: 1;
}

.services-form-full {
    flex: 1;
}

.services-contact-form input,
.services-contact-form select,
.services-contact-form textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 16px 20px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: #272727;
    transition: var(--transition-fast);
}

.services-contact-form input {
    height: 56.8px;
}

.services-contact-form select {
    height: 56.8px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23272727' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 15px;
}

.services-contact-form input:focus,
.services-contact-form select:focus,
.services-contact-form textarea:focus {
    outline: none;
    border-color: #ff4433;
    box-shadow: 0 0 0 2px rgba(255, 68, 51, 0.15);
}

.services-form-submit-btn {
    width: 100%;
    height: 49.2px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 0px;
    padding: 14px 21px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.services-form-submit-btn:hover {
    background-color: #ff4433;
}

/* Contacto Page Specific Styling */
.contacto-hero-section {
    background-color: #ffffff;
    padding: 240px 24px 80px;
    text-align: left;
}

.grid-contact-hero {
    display: grid;
    grid-template-columns: 21.75% 78.25%;
    gap: 0;
}

.contact-hero-text-col h1 {
    font-family: var(--font-sans);
    font-size: 56px;
    font-weight: 600;
    line-height: 64px;
    color: #ff4433;
    margin-bottom: 20px;
}

.contact-hero-subtitle {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    color: #000000;
    padding-right: 300px;
    margin-bottom: 0;
}

.contacto-form-section {
    background-color: transparent;
    padding: 60px 24px 120px;
}

.container-contacto-form {
    max-width: 720px;
    background-color: #f7f7f7;
    padding: 0 40px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacto-divider-line {
    width: 2px;
    height: 90px;
    background-color: #ff4433;
    margin-top: -45px;
    margin-bottom: 20px;
}

.contacto-section-title {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 30px;
    display: block;
}

/* Responsive for services pages */
@media (max-width: 991px) {
    .services-hero-orange,
    .services-hero-purple,
    .services-hero-green {
        padding: 140px 24px 80px;
        text-align: center;
    }
    
    .services-hero-orange h1,
    .services-hero-purple h1,
    .services-hero-green h1 {
        font-size: 40px;
        line-height: 48px;
    }
    
    .services-hero-leader {
        font-size: 18px;
        line-height: 28px;
    }
    
    .services-features-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .services-process-row {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .services-cta-header-section h2 {
        font-size: 30px;
    }
    
    .services-form-section .grid-two-cols {
        flex-direction: column;
        gap: 40px;
    }
    
    .services-form-right-col {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .grid-contact-hero {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-empty-col {
        display: none;
    }
    
    .contacto-hero-section {
        padding: 140px 24px 60px;
        text-align: center;
    }
    
    .contact-hero-text-col h1 {
        font-size: 40px;
        line-height: 48px;
    }
    
    .contact-hero-subtitle {
        font-size: 18px;
        line-height: 28px;
        padding-right: 0;
    }
    
    .container-contacto-form {
        padding: 0 24px 40px;
    }
    
    /* Mobile Navigation Drawer styles */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        padding: 100px 40px 40px;
        transition: right var(--transition-normal);
        display: flex;
        flex-direction: column;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 18px;
        display: block;
        width: 100%;
        color: #000000 !important;
    }
    
    .nav-menu a::after {
        display: none !important;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 10px 0 0 15px;
        display: none;
        gap: 12px;
    }
    
    .menu-item-has-children.active .sub-menu {
        display: flex;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .site-header.white-header .mobile-menu-toggle .bar {
        background-color: #000000;
    }
    
    .site-header.transparent-header .mobile-menu-toggle .bar {
        background-color: #ffffff;
    }
    
    .nav-platform-btn {
        border: 1.5px solid var(--primary-color) !important;
        color: #ffffff !important;
        background-color: var(--primary-color) !important;
        text-align: center;
        padding: 10px 20px !important;
    }
    
    .nav-platform-btn:hover {
        background-color: #000000 !important;
        border-color: #000000 !important;
    }
}

@media (max-width: 576px) {
    .services-form-row {
        flex-direction: column;
        gap: 20px;
    }
}
