/* Custom CSS for EducoreERP Landing Page System */
:root {
    --primary-blue: #0947ca;
    --primary-dark: #031a61;
    --primary-light: #2563eb;
    --accent-blue: #3b82f6;
    --bg-light-blue: #f0f5ff;
    --bg-gradient-hero: linear-gradient(135deg, #eef4ff 0%, #e0eafd 50%, #f4f7ff 100%);
    --bg-dark-blue: #071948;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 30px rgba(9, 71, 202, 0.06);
    --card-hover-shadow: 0 20px 40px rgba(9, 71, 202, 0.15);
}

body {
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
}

/* --- Top Header Bar --- */
.top-header-bar {
    background-color: var(--bg-dark-blue);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-bar a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-header-bar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Main Navbar --- */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 8px 25px rgba(9, 71, 202, 0.1);
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
}

.navbar-brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 15px rgba(9, 71, 202, 0.25);
    transition: transform 0.3s ease;
}

.navbar-brand-custom:hover .navbar-brand-icon {
    transform: rotate(5deg) scale(1.05);
}

.nav-link-custom {
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link-custom:hover, 
.nav-link-custom.active {
    color: var(--primary-blue);
    background-color: var(--bg-light-blue);
}

.btn-demo-nav {
    background: linear-gradient(135deg, #0947ca 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 6px 18px rgba(9, 71, 202, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-demo-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(9, 71, 202, 0.45);
    color: #ffffff !important;
}

/* --- Hero Section --- */
.hero-wrapper {
    background: var(--bg-gradient-hero);
    padding: 5rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #dbeafe;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(9, 71, 202, 0.06);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 580px;
}

/* Hero Right Floating Graphic */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-frame {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 12px;
    box-shadow: 0 20px 50px rgba(9, 71, 202, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
}

/* Floating 3D Badges (Image 1 Style) */
.floating-badge {
    position: absolute;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eff6ff;
    animation: float 4s ease-in-out infinite;
}

.badge-ai {
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #e11d48;
    font-size: 1.2rem;
    animation-delay: 0s;
}

.badge-cart {
    bottom: -10px;
    left: 45%;
    width: 54px;
    height: 54px;
    background: #ffffff;
    color: #f59e0b;
    font-size: 1.3rem;
    animation-delay: 1.5s;
}

.badge-shield {
    top: 40%;
    right: -15px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #2563eb;
    font-size: 1.25rem;
    animation-delay: 2.5s;
}

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

/* --- Section Titles --- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 4px;
    margin: 0.8rem 0 0 0;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* --- Book a Demo Section (Image 2 Style) --- */
.demo-section-wrapper {
    background-color: #fafcff;
    padding: 5rem 0;
}

.demo-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(9, 71, 202, 0.08);
    border: 1px solid #eef2ff;
}

.demo-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 1.75rem;
}

.form-control-custom {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(9, 71, 202, 0.12);
    outline: none;
}

textarea.form-control-custom {
    height: auto;
}

.btn-submit-demo {
    background-color: var(--primary-dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem;
    border-radius: 8px;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit-demo:hover {
    background-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(9, 71, 202, 0.3);
}

/* --- Video Walkthrough Section (Image 3 Style) --- */
.video-section-wrapper {
    padding: 5rem 0;
    background-color: #ffffff;
}

.video-player-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background: #0f172a;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: scale 0.5s ease;
}

.video-player-box:hover .video-poster-img {
    scale: 1.03;
}

.play-btn-overlay {
    position: absolute;
    width: 70px;
    height: 48px;
    background-color: #ff0000;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.video-player-box:hover .play-btn-overlay {
    transform: scale(1.15);
    background-color: #cc0000;
}

/* --- Features & Module Grid --- */
.features-section-wrapper {
    background-color: #fafcff;
    padding: 5rem 0;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    border: 1px solid #eef2f6;
    box-shadow: var(--card-shadow);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
}

.feature-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* ALWAYS VISIBLE SLEEK "LEARN MORE" BUTTON WITH HOVER LIFT */
.btn-learn-more-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background-color: #eff6ff;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: 25px;
    border: 1px solid #bfdbfe;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover, .why-choose-card:hover, .team-pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: #dbeafe;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon-wrapper,
.why-choose-card:hover .why-icon-box {
    background: var(--primary-blue);
    color: #ffffff !important;
    transform: scale(1.08);
}

.feature-card:hover .btn-learn-more-card,
.why-choose-card:hover .btn-learn-more-card,
.team-pillar-card:hover .btn-learn-more-card {
    background-color: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(9, 71, 202, 0.3);
    transform: translateY(-3px) scale(1.03) !important;
}

.btn-learn-more-card:hover {
    background-color: var(--primary-dark) !important;
    color: #ffffff !important;
    border-color: var(--primary-dark) !important;
}

/* --- Transform CTA Dark Banner (AT VERY BOTTOM RIGHT ABOVE FOOTER) --- */
.transform-cta-banner {
    background: linear-gradient(135deg, #031a61 0%, #072ac8 100%);
    color: #ffffff;
    padding: 4.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(3, 26, 97, 0.25);
    position: relative;
    overflow: hidden;
    margin: 5rem 0 3rem 0;
}

.transform-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.transform-cta-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.transform-cta-desc {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    max-width: 850px;
    margin: 0 auto 2.25rem auto;
}

/* --- WHY CHOOSE CARDS (Matching User Screenshot 1) --- */
.why-choose-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.2rem 1.8rem;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 24px rgba(9, 71, 202, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.why-choose-card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.why-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.why-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.why-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* --- TEAM PILLARS CARDS (Image 1 Style) --- */
.team-pillar-card {
    background-color: #eaf7fa;
    border-radius: 28px;
    padding: 3rem 2rem;
    border: 1px solid #cceef5;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(9, 71, 202, 0.04);
}

.team-pillar-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ffffff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 20px rgba(9, 71, 202, 0.1);
    margin-bottom: 1.75rem;
    transition: transform 0.3s ease;
}

.team-pillar-card:hover .team-pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-blue);
    color: #ffffff;
}

.team-pillar-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.team-pillar-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* --- CLIENT LOGOS SECTION (Image 2 Style) --- */
.clients-potential-section {
    background-color: #ebf6fa;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.client-logo-badge {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.1rem 1.4rem;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 0.92rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.client-logo-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(9, 71, 202, 0.12);
    border-color: var(--primary-blue);
}

.client-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- TESTIMONIAL SLIDER SECTION (Image 3 Style) --- */
.testimonials-section-dark {
    background: linear-gradient(135deg, #031a61 0%, #06277e 100%);
    color: #ffffff;
    padding: 6rem 0 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-card-light {
    background-color: #e6f4f8;
    border-radius: 28px;
    padding: 3.5rem 3rem;
    color: var(--text-dark);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-quote-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    font-weight: 500;
    margin-bottom: 2rem;
}

.testimonial-avatar-frame {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.testimonial-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
    background: #ffffff;
    color: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #ffffff;
}

/* --- FAQ ACCORDION SECTION (Image 4 Style) --- */
.faq-landing-section {
    background-color: #ebf6fa;
    padding: 6rem 0;
}

.faq-card-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-card-button {
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-card-button:hover {
    background-color: #f8fafc;
}

.faq-card-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sub-pages Styling */
.page-header-wrapper {
    background: linear-gradient(135deg, #031a61 0%, #0947ca 100%);
    color: #ffffff;
    padding: 4.5rem 0 3.5rem 0;
    text-align: center;
    position: relative;
}

.page-header-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-header-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 650px;
    margin: 0 auto;
}

/* Modal Styling */
.modal-content-custom {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header-custom {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: #ffffff;
    padding: 1.5rem 2rem;
    border: none;
}

.modal-body-custom {
    padding: 2rem;
}

/* Footer Styling */
.footer-wrapper {
    background-color: var(--bg-dark-blue);
    color: #cbd5e1;
    padding: 4.5rem 0 2rem 0;
    font-size: 0.95rem;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
}
