/* /templates/eduai/css/sections/base.css */

:root {
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --primary-rgb: 58, 134, 255; /* RGB for primary color for rgba usage */
    --secondary: #06d6a0;
    --secondary-dark: #05b98a;
    --accent: #8338ec;
    --accent-dark: #6a2fc0;
    --warning: #ff9e00;
    --warning-dark: #e68a00;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --gradient-blue: linear-gradient(135deg, #3a86ff, #2667cc);
    --gradient-green: linear-gradient(135deg, #06d6a0, #05b98a);
    --gradient-purple: linear-gradient(135deg, #8338ec, #6a2fc0);
    --gradient-orange: linear-gradient(135deg, #ff9e00, #e68a00);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --card-shadow-light: 0 2px 10px rgba(0,0,0,0.07);
    --transition: all 0.3s ease;

    /* Pricing section specific colors (can be moved to pricing.css if only used there) */
    --pricing-section-title-color: #1a3a6c;
    --pricing-button-bg: linear-gradient(45deg, #2d5ca9, #3d6cba);
    --pricing-featured-border: #2d5ca9;

    /* Icon colors for the new tools grid on landing page (can be moved to landing-tools.css) */
    --tool-icon-color-1: #e74c3c;
    --tool-icon-color-2: #f1c40f;
    --tool-icon-color-3: #e67e22;
    --tool-icon-color-4: #3498db;
    --tool-icon-color-5: #9b59b6;
    --tool-icon-color-6: #2ecc71;
    --tool-icon-color-7: #c0392b;
    --tool-icon-color-8: #f39c12;
    --tool-icon-color-9: #d35400;
    --tool-icon-color-10: #2980b9;
    --tool-icon-color-11: #8e44ad;
    --tool-icon-color-12: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Adjust to your fixed header height */
}

body {
    background-color: #f5f7fb;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* padding-top will be handled by header.css or dynamically if header height changes */
}

/* General Button Styling */
.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center content in button */
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    cursor: pointer;
    border: none;
}

/* Specific button types - can be overridden in section-specific CSS if needed */
.btn-primary {
    background: white; /* This is specific to hero, might need adjustment or override */
    color: var(--primary);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary { /* This is specific to hero, might need adjustment or override */
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* General Section Styling */
.section {
    padding: 70px 5%; /* Adjusted padding */
}
.section-light-bg {
    background-color: #f0f5ff;
}

/* General Section Title Styling */
.section-title {
    text-align: center;
    margin-bottom: 50px; /* Adjusted margin */
}

.section-title h2 {
    font-size: 2.3rem; /* Adjusted */
    margin-bottom: 15px;
    color: var(--dark); /* Default, can be overridden by specific section styles */
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px; /* Adjusted */
    height: 3px; /* Adjusted */
    background: var(--primary); /* Default, can be overridden */
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 650px; /* Adjusted */
    margin: 25px auto 0 auto;
}

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

@keyframes pulse { /* Used by WhatsApp float, keep here or move to its own file */
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } /* Adjusted opacity */
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); } /* Adjusted spread */
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px); /* Reduced initial offset */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Adjusted timing */
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Basic Responsive Adjustments (apply more specific ones in section files) */
@media (max-width: 992px) {
    .section-title h2 { font-size: 2.1rem; }
}

@media (max-width: 768px) {
    .section { padding: 60px 5%; }
    .section-title h2 { font-size: 1.8rem; }
    .section-title p { font-size: 0.95rem; }
    .btn { padding: 12px 25px; font-size: 0.95rem;}
}

