/* ==========================================================================
   CSS Variables & Theme
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-color: #0070F2; /* Professional Bright SAP Blue */
    --primary-light: #3390FF;
    --primary-dark: #004B99;
    --accent-color: #F0AB00; /* SAP Gold Accent */
    
    --bg-color: #F8FAFC; /* Light theme background */
    --bg-alt: #F1F5F9; /* Slightly darker light background */
    
    --text-main: #1E293B; /* Dark slate for main text */
    --text-muted: #64748B; /* Lighter slate for muted text */
    
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(226, 232, 240, 0.8);
    
    --whatsapp-color: #25D366;
    --whatsapp-dark: #1EBE55;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 112, 242, 0.15);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    letter-spacing: -0.03em;
}

h1 { font-size: 3rem; color: var(--primary-color); }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-light);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.section-padding {
    padding: 5rem 10%;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 112, 242, 0.2);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-primary-sm, .btn-outline, .btn-whatsapp, .btn-whatsapp-sm, .btn-whatsapp-green, .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(0, 90, 156, 0.4);
}

.btn-primary:disabled {
    background-color: #555;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7;
}

.btn-primary-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: white;
}

.btn-primary-sm:hover {
    background-color: var(--primary-light);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
}

.btn-outline:hover {
    background-color: rgba(0, 118, 206, 0.1);
    color: white;
}

.btn-outline-blue {
    background-color: transparent;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-outline-blue:hover {
    background-color: rgba(0, 118, 206, 0.1);
}

.btn-demo-disabled {
    background-color: #e2e8f0;
    border: 1px solid var(--primary-light);
    color: #ffffff;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: not-allowed;
    text-decoration: none;
    display: inline-block;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: var(--whatsapp-color);
    color: white;
}

.btn-whatsapp-sm:hover {
    background-color: var(--whatsapp-dark);
}

.btn-whatsapp-green {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: #2ECC71; /* brighter green like the image */
    color: white;
    border-radius: 6px;
}

.btn-whatsapp-green:hover {
    background-color: #27AE60;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 10%;
    z-index: 1000;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 0.5rem 10%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform var(--transition-fast), height var(--transition-fast);
}

.logo span {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.logo img:hover {
    transform: scale(1.05);
}

.navbar.scrolled .logo img {
    height: 52px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary-sm) {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    font-family: 'Inter', sans-serif;
}

.nav-links a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-links a:not(.btn-primary-sm):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding-top: 5rem;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--glass-border);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem 1.2rem;
}

.mobile-nav-links li {
    list-style: none;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    color: var(--primary-color);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mobile-nav-links a:hover, .mobile-nav-links a:active {
    background: rgba(0, 75, 153, 0.08);
    color: var(--secondary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding: 7rem 10% 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 75, 153, 0.8)), 
                url('sap_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero-content p {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-plans-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-plans-title {
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.hero-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.light-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    color: #333333;
}

.light-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 90, 156, 0.2);
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Plans Section
   ========================================================================== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.plan-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 3rem;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.popular-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #005A9C;
    color: white;
    padding: 0.2rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plan-card h3 {
    color: #666666;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.plan-card .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0076CE;
    margin: 0.5rem 0;
}

.plan-card p {
    color: #777777;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
    line-height: 1.4;
}

.card-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.training-badges {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(0, 112, 242, 0.08);
    padding: 1rem;
    border-radius: 12px;
}

.service-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 112, 242, 0.15);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover .service-card-img {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0, 112, 242, 0.1);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1050px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #FFFFFF;
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 112, 242, 0.08);
    border-color: rgba(0, 112, 242, 0.25);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0, 112, 242, 0.08);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    color: #FFFFFF;
}

.feature-info {
    flex: 1;
}

.feature-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
}

.feature-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   Contact/Register Form Section
   ========================================================================== */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container {
    width: 100%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.2);
}

.form-group select option {
    background: #FFFFFF;
    color: var(--text-main);
}

.input-action-group {
    display: flex;
    gap: 0.5rem;
}

.input-action-group input {
    flex: 1;
}

.btn-action {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-action:hover {
    background: var(--primary-light);
}

.btn-action:disabled {
    background: #555;
    cursor: not-allowed;
}

.help-text {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

.text-success { color: #25D366; }
.text-error { color: #ff4d4d; }

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.05rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #0F172A; /* Dark Slate for footer contrast */
    color: #F8FAFC;
    padding: 4rem 10% 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.footer-logo-link span {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #94A3B8;
}

.footer-links ul li a:hover {
    color: #3390FF;
    padding-left: 5px;
}

.footer-contact p {
    color: #94A3B8;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #F8FAFC;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94A3B8;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Popups & Floating elements
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 100;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1);
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 90, 156, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-light);
    animation: spin 1s ease-in-out infinite;
}

/* Authentication Styles */
.blurred-price {
    filter: blur(8px) !important;
    user-select: none !important;
    pointer-events: none !important;
    opacity: 0.8;
}

#adminPanelBtn {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Reveal Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    animation: fadeInPopup 0.3s forwards;
}

@keyframes fadeInPopup {
    to { opacity: 1; }
}

.popup-content {
    text-align: center;
    max-width: 400px;
    padding: 3rem 2rem;
    transform: scale(0.8);
    animation: scaleInPopup 0.3s forwards;
}

@keyframes scaleInPopup {
    to { transform: scale(1); }
}

.success-icon {
    font-size: 4rem;
    color: var(--whatsapp-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Admin Dashboard - Professional Theme
   ========================================================================== */
.admin-panel {
    width: 95%;
    max-width: 1000px;
    height: 85vh;
    background: #f4f7fb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: scaleInPopup 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: scale(0.95);
    opacity: 0;
}

@keyframes scaleInPopup {
    to { transform: scale(1); opacity: 1; }
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.admin-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    margin: 0;
}

.admin-header h2 i {
    color: var(--primary-color);
}

.admin-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-close-btn:hover {
    background: #f1f5f9;
    color: var(--text-main);
    transform: rotate(90deg);
}

.admin-tabs {
    display: flex;
    background: #ffffff;
    padding: 0 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.admin-tab {
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.admin-tab:hover {
    color: var(--primary-color);
}

.admin-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.admin-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.admin-tab-content {
    display: none;
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.admin-section-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.admin-add-btn {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-add-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 112, 242, 0.3);
}

/* Admin Form */
.admin-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.admin-form-grid input,
.admin-form-grid select {
    padding: 0.6rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-fast);
    background: #ffffff;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 112, 242, 0.15);
}

.admin-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.25rem;
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    margin-right: auto;
}

.admin-save-btn {
    padding: 0.5rem 1.5rem;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-save-btn:hover {
    background: #059669;
}

.admin-cancel-btn {
    padding: 0.5rem 1.5rem;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-cancel-btn:hover {
    background: #e2e8f0;
}

/* Admin Table */
.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

.admin-table thead {
    background: #f8fafc;
}

.admin-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
}

.admin-table th:first-child { border-left: 1px solid #e2e8f0; border-top-left-radius: 6px; }
.admin-table th:last-child { border-right: 1px solid #e2e8f0; border-top-right-radius: 6px; }

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: #f8fafc;
}

.admin-table .admin-actions {
    display: flex;
    gap: 0.5rem;
    white-space: nowrap;
}

.admin-edit-btn, .admin-delete-btn {
    padding: 0.4rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.admin-edit-btn {
    background: #eff6ff;
    color: var(--primary-color);
}

.admin-edit-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.admin-delete-btn {
    background: #fef2f2;
    color: #ef4444;
}

.admin-delete-btn:hover {
    background: #ef4444;
    color: #fff;
}

/* Inline edit row */
.admin-table .edit-input {
    padding: 0.4rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.85rem;
    width: 100%;
    min-width: 80px;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition-fast);
}

.admin-table .edit-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 112, 242, 0.1);
}

.admin-status-active {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-status-active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.admin-status-inactive {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero-content h1 { font-size: 2rem; color: #FFFFFF; }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 5rem;
        padding-bottom: 2rem;
        min-height: auto;
        gap: 1.5rem;
    }
    .hero-content {
        margin-bottom: 1rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
    }
    .hero-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
        gap: 1rem;
    }
    .hero-plans-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    .section-padding { padding: 3rem 5%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    
    .navbar { padding: 0.8rem 5%; }
    .navbar.scrolled { padding: 0.6rem 5%; }
    
    .logo img {
        height: 45px;
        margin: 0;
    }
    
    .navbar.scrolled .logo img {
        height: 38px;
    }
    
    .logo span {
        font-size: 1.3rem;
        line-height: 1;
    }
    
    .footer-logo-img {
        height: 65px;
    }
    
    .footer-logo-link span {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 1.4rem; margin-bottom: 0.75rem; line-height: 1.25; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
    .hero-content h1 { font-size: 1.6rem; color: #FFFFFF; margin-bottom: 0.6rem; }
    
    .hero { 
        padding-top: 4.5rem; 
        padding-bottom: 1.5rem; 
        gap: 1.25rem; 
        min-height: auto; 
    }
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        color: #E2E8F0;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0.5rem;
        justify-content: center;
    }
    .hero-buttons a {
        flex: 1;
        width: auto;
        font-size: 0.8rem;
        padding: 0.55rem 0.5rem;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 38px;
        white-space: nowrap;
    }
    
    @media (max-width: 360px) {
        .hero-buttons {
            flex-direction: column;
            gap: 0.6rem;
        }
        .hero-buttons a {
            width: 100%;
        }
    }
    
    .input-action-group {
        flex-direction: column;
    }
    .btn-action {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .section-padding { padding: 2rem 5%; }
    
    .hero-plans-container {
        gap: 0.75rem;
        width: 100%;
    }
    .hero-plans-grid {
        gap: 0.5rem;
        align-items: stretch;
    }
    .hero-plans-title {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }
    
    .light-card { padding: 0.6rem 0.5rem; border-radius: 8px; }
    
    .plan-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding: 0.6rem 0.5rem !important;
    }
    
    .plan-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.15rem;
    }
    
    .plan-card .price {
        font-size: 1.2rem;
        margin: 0.2rem 0;
    }
    
    .plan-card p {
        font-size: 0.68rem;
        margin-bottom: 0.5rem;
        line-height: 1.25;
        min-height: auto;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .plan-card .card-buttons {
        flex-direction: column;
        gap: 0.35rem;
        width: 100%;
        margin-top: auto;
    }
    
    .plan-card .btn-outline-blue, 
    .plan-card .btn-whatsapp-green {
        width: 100%;
        padding: 0 0.4rem !important;
        font-size: 0.75rem !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 32px !important;
    }
    
    .popular-ribbon {
        font-size: 0.55rem;
        padding: 0.1rem 1.8rem;
        top: 8px;
        right: -30px;
    }
    
    .grid-3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .service-card-img {
        height: 140px;
        margin-bottom: 1rem;
    }
    
    .service-icon {
        font-size: 1.5rem;
        padding: 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card .training-badges {
        font-size: 0.65rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.3px;
    }
    
    .service-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        line-height: 1.45;
    }
    
    .service-card .card-buttons {
        flex-direction: row;
        gap: 0.75rem;
        margin-top: auto;
        width: 100%;
    }
    
    .service-card .card-buttons .btn-outline,
    .service-card .card-buttons .btn-primary-sm {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 1rem !important;
        font-size: 0.85rem !important;
        border-radius: 6px;
        height: 38px;
        width: auto !important;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .feature-item {
        padding: 0.8rem 1rem;
        gap: 0.75rem;
        border-radius: 10px;
    }
    
    .feature-item i {
        font-size: 1.25rem;
    }
    
    .feature-item span {
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 1.75rem 5% 1.25rem;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 0.7fr 1.3fr;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo-link {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 55px;
    }
    
    .footer-logo-link span {
        font-size: 1.35rem;
    }
    
    .footer-brand p {
        max-width: 320px;
        margin: 0.4rem auto 0;
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-links, .footer-contact {
        text-align: left;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links ul li a {
        font-size: 0.85rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        word-break: break-word;
    }
    
    .footer-social {
        grid-column: span 2;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: 1.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.25rem; }
    h2 { font-size: 1.15rem; }
    .hero-content h1 { font-size: 1.35rem; color: #FFFFFF; }
    .hero-content p { font-size: 0.82rem; color: #E2E8F0; }
    
    .plan-card h3 { font-size: 0.8rem; }
    .plan-card .price { font-size: 1.1rem; }
    .plan-card p { font-size: 0.65rem; }
    
    .hero-plans-title {
        font-size: 1.15rem;
    }
    
    .section-title {
        margin-bottom: 1.2rem;
    }
    
    .features-grid {
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
    }
    
    .feature-item span {
        font-size: 0.78rem;
    }
}

/* Professional Form Grid Layout */
.professional-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
}
.professional-form .full-width,
.professional-form > button,
.professional-form > p {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .professional-form {
        grid-template-columns: 1fr;
    }
}

/* Professional Form Group Layout */
.professional-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.professional-form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

.professional-form-group input,
.professional-form-group select {
    width: 100%;
    box-sizing: border-box;
}

/* Custom Toast Notification */
.custom-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px 24px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s, visibility 0.3s;
}

.custom-toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
