/* corporate.css - Premium Light SaaS Theme for Malakos Healthcare Solutions */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-light: #ffffff;
    --bg-accent: #f8fafc; /* Cool Slate 50 */
    --bg-card: #ffffff;
    --border-color: #e2e8f0; /* Slate 200 */
    --border-hover: rgba(0, 85, 251, 0.2);
    --border-glow: rgba(0, 85, 251, 0.15);
    --accent-gradient: linear-gradient(135deg, #0055FB 0%, #6366f1 100%);
    
    --primary: #0055FB; /* Vibrant SaaS Blue (Jaanu inspired) */
    --primary-hover: #0040c7;
    --secondary: #6366f1; /* Indigo */
    
    --text-main: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #64748b; /* Slate 500 */
    
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --accent-green: #10b981;
    
    --font-heading: 'Poppins', sans-serif;
    --font-subheading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px -10px rgba(0, 85, 251, 0.08), 0 1px 3px rgba(0, 0, 0, 0.01);
    --shadow-xl: 0 20px 50px -12px rgba(0, 85, 251, 0.12), 0 1px 5px rgba(0, 0, 0, 0.02);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Developer SaaS Grid Overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(0, 85, 251, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: -2;
    pointer-events: none;
}

/* Ambient Radial Light Orbs */
.mesh-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 85, 251, 0.05) 0%, rgba(99, 102, 241, 0.02) 50%, rgba(0, 0, 0, 0) 100%);
    top: -150px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
    animation: float-mesh-right 16s ease-in-out infinite alternate;
}

.mesh-glow-left {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, rgba(0, 85, 251, 0.01) 50%, rgba(0, 0, 0, 0) 100%);
    top: 600px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
    animation: float-mesh-left 20s ease-in-out infinite alternate;
}

@keyframes float-mesh-right {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 40px) scale(1.05); }
    100% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes float-mesh-left {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -50px) scale(1.1); }
    100% { transform: translate(-20px, 40px) scale(0.9); }
}

/* Header & Glassmorphic Navigation */
.corporate-header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.corporate-header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -15px rgba(0, 85, 251, 0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-logo {
    transition: var(--transition);
    max-height: 42px;
}

.corporate-header.scrolled .site-logo {
    max-height: 38px;
}

.nav-menu {
    display: flex;
    gap: 36px !important;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--primary);
}

.nav-link i {
    font-size: 10px;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Submenus */
.malakos-dropdown-menu, .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 260px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px;
    display: none !important;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    box-shadow: var(--shadow-xl);
    z-index: 100;
    animation: dropdown-fade-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdown-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-item:hover .malakos-dropdown-menu, .nav-item:hover .dropdown-menu {
    display: flex !important;
}

.dropdown-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.dropdown-link:hover {
    background: var(--bg-accent);
    color: var(--primary);
    padding-left: 18px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons Styling (SaaS Rounded Pill Styles) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 85, 251, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 251, 0.35);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-accent);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--border-color);
    padding: 100px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 999;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

/* Base Sections Layout */
section {
    padding: 100px 6%;
    position: relative;
    z-index: 10;
}

.container-narrow {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* Badges (Pills) */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(0, 85, 251, 0.06);
    border: 1px solid rgba(0, 85, 251, 0.15);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 16.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    padding-top: 170px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 17.5px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 44px;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    max-width: 550px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.hero-trust-item i {
    color: var(--accent-green);
    font-size: 16px;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3D Perspective Tilt Layout */
.perspective-mockup {
    width: 100%;
    max-width: 580px;
    border-radius: 16px;
    box-shadow: 0 30px 60px -15px rgba(0, 85, 251, 0.15), 0 10px 20px -10px rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(-10deg) rotateX(8deg) rotateZ(1deg);
    transition: var(--transition);
    border: 1px solid rgba(0, 85, 251, 0.1);
}

.perspective-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1.03);
    box-shadow: 0 40px 80px -20px rgba(0, 85, 251, 0.2), 0 1px 3px rgba(0, 0, 0, 0.01);
}

/* Integrations Logos Row style (Trust Builder) */
.integrations-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 35px 6%;
    background: var(--bg-accent);
}

.integrations-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.integrations-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.integrations-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.integration-logo {
    font-family: var(--font-subheading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.65;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.integration-logo:hover {
    opacity: 1;
    color: var(--primary);
}

.integration-logo i {
    font-size: 20px;
}

/* How It Works Workflow Section */
.workflow-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
    position: relative;
}

/* Connecting Line for pipeline steps */
.workflow-grid::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.15;
    z-index: 1;
}

.workflow-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.workflow-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.workflow-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 85, 251, 0.25);
    border: 4px solid #ffffff;
}

.workflow-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.workflow-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Services Grid (Clean modern SaaS layout) */
.services-section {
    background: var(--bg-accent);
}

.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 85, 251, 0.07);
    border: 1px solid rgba(0, 85, 251, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.glass-card:hover .card-icon {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 85, 251, 0.2);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Specialties Section overrides for light theme */
#specialties {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Impact Statistics Section (Clean Minimalist look) */
.impact-section {
    background: #ffffff;
    padding: 60px 6%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #ffffff;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background: var(--border-color);
}

.stat-number {
    font-family: var(--font-subheading);
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 6px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

/* ROI Savings Calculator Styles */
.calculator-section {
    background: var(--bg-accent);
}

.calculator-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    box-shadow: var(--shadow-lg);
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label {
    font-weight: 600;
    font-size: 15.5px;
    color: var(--text-main);
}

.slider-value {
    font-family: var(--font-subheading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* Range Input Formatting (SaaS Clean styling) */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #e2e8f0;
    border-radius: 6px;
}

input[type=range]::-webkit-slider-thumb {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    box-shadow: 0 4px 10px rgba(0, 85, 251, 0.35);
    border: 3px solid var(--primary);
    transition: var(--transition);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--primary);
}

/* Calculator Outputs panel */
.calc-outputs {
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.output-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.output-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.output-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.output-value {
    font-family: var(--font-subheading);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
}

.output-value.highlight {
    font-size: 23px;
    color: var(--primary);
}

/* Testimonials Carousel Slider styling */
.testimonials-section {
    background: #ffffff;
}

.testimonials-slider-outer {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.testimonials-slider-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    display: flex;
    gap: 24px;
    padding: 20px 4px;
    scrollbar-width: none;
}

.testimonials-slider-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 460px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0, 85, 251, 0.15);
}

.author-details h4 {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.author-details p {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Slider chevron buttons */
.slider-arrow {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 85, 251, 0.25);
    transform: scale(1.05);
}

.slider-arrow-left {
    left: -23px;
}

.slider-arrow-right {
    right: -23px;
}

.slider-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* Contact Us & Intake Form Layout */
.contact-section {
    background: var(--bg-accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 85, 251, 0.06);
    border: 1px solid rgba(0, 85, 251, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.contact-item-details h4 {
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-item-details a, .contact-item-details p {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.contact-item-details a:hover {
    color: var(--primary);
}

.contact-form {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 13px 18px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 251, 0.1);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.form-alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    font-weight: 500;
}

.form-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent-green);
}

/* Footer Section (Slightly Dark Slate for premium contrast anchor) */
.corporate-footer {
    background: #090d16;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 6% 40px 6%;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 290px;
    line-height: 1.6;
}

.footer-links-col h4 {
    font-family: var(--font-subheading);
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.footer-link a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright {
    font-size: 13.5px;
    color: #64748b;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-legal-link a {
    color: #64748b;
    text-decoration: none;
    font-size: 13.5px;
    transition: var(--transition);
}

.footer-legal-link a:hover {
    color: #94a3b8;
}

/* Blog layouts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.blog-card-meta {
    display: flex;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 500;
}

.blog-card-meta span i {
    color: var(--primary);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-more:hover {
    gap: 8px;
    color: var(--primary-hover);
}

/* Blog single article layout */
.blog-post-container {
    max-width: 800px;
    margin: 140px auto 70px auto;
    padding: 0 24px;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 48px;
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    margin: 18px 0;
    letter-spacing: -1px;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-post-content {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--text-secondary);
}

.blog-post-content p {
    margin-bottom: 28px;
}

.blog-post-content h2 {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin: 44px 0 20px 0;
}

.blog-post-content h3 {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 16px 0;
}

.blog-post-content ul, .blog-post-content ol {
    margin: 0 0 28px 24px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        gap: 50px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-trust-list {
        justify-content: center;
        margin: 0 auto;
    }
    
    .perspective-mockup {
        transform: none;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .perspective-mockup:hover {
        transform: scale(1.02);
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .workflow-grid::before {
        display: none;
    }

    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrations-container {
        justify-content: center;
        text-align: center;
    }

    .integrations-logos {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .corporate-header {
        padding: 0 24px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 10px;
        padding: 20px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonial-card {
        flex: 0 0 320px;
        padding: 24px;
    }
    
    .slider-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item::after {
        display: none !important;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Mega Menu Dropdown Layout */
.malakos-dropdown-menu.malakos-mega-menu, .dropdown-menu.mega-menu {
    position: absolute;
    top: 100%;
    left: -350px;
    width: 980px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 30px;
    display: none !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    animation: dropdown-fade-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.malakos-mega-menu-col h4 {
    font-family: var(--font-subheading);
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.malakos-mega-menu-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.malakos-mega-menu-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition);
    display: block;
    line-height: 1.45;
}

.malakos-mega-menu-col ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.nav-item:hover .malakos-dropdown-menu.malakos-mega-menu, .nav-item:hover .dropdown-menu.mega-menu {
    display: grid !important;
}

/* Premium Form Design Styles */
.premium-contact-form-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    max-width: 780px;
    margin: 0 auto;
}

.premium-contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.premium-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    font-family: var(--font-subheading);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
}

.form-group label .required {
    color: #ef4444;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 18px 14px 48px;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
    appearance: none;
}

/* Custom dropdown arrow */
.input-wrapper select {
    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='%23475569' 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 18px center;
    background-size: 16px;
    padding-right: 48px;
}

.input-wrapper textarea {
    padding-top: 16px;
    resize: vertical;
}

.textarea-icon {
    top: 20px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--border-glow);
    background-color: #ffffff;
}

.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
    color: var(--primary);
}

/* Radio Group styling */
.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-accent);
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.radio-label:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.radio-label input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    margin: 0;
}

.radio-label input[type="radio"]:checked + span {
    color: var(--primary);
    font-weight: 600;
}

/* Submit button styling */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(0, 85, 251, 0.3);
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 85, 251, 0.45);
}

.submit-btn i {
    font-size: 14px;
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .premium-contact-form-container {
        padding: 24px;
    }
    .form-row {
        gap: 16px;
    }
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    .radio-label {
        width: 100%;
    }
}

/* ==========================================
   Premium SaaS-like Visuals & Scroll Reveals
   ========================================== */

/* Shifting Text Gradients */
.saas-gradient-text {
    background: linear-gradient(135deg, #0055FB 0%, #8537fc 40%, #0055FB 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientShift 6s linear infinite;
}

@keyframes textGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Pulsating Floating Orbs */
.mesh-glow {
    animation: floatOrb 18s ease-in-out infinite alternate !important;
}

.mesh-glow-left {
    animation: floatOrbLeft 22s ease-in-out infinite alternate !important;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(-80px, 60px) scale(1.1); opacity: 1; filter: blur(50px); }
    100% { transform: translate(50px, -40px) scale(0.9); opacity: 0.7; }
}

@keyframes floatOrbLeft {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(70px, -50px) scale(1.15); opacity: 0.9; filter: blur(70px); }
    100% { transform: translate(-40px, 60px) scale(0.85); opacity: 0.6; }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay reveals for grid columns */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Enhanced SaaS Card Interactions */
.elementor-widget-icon-box,
.elementor-widget-image-box,
.themesflat-icon-box,
.themesflat-image-box,
.card-hover-saas {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.elementor-widget-icon-box::after,
.themesflat-icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 85, 251, 0.04), transparent 40%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.elementor-widget-icon-box:hover::after,
.themesflat-icon-box:hover::after {
    opacity: 1;
}

/* Hero Media Wrapper & Floating Badges */
.hero-media-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 20px 40px -10px rgba(0, 85, 251, 0.15), 0 1px 3px rgba(0, 0, 0, 0.02);
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-badge:hover {
    transform: translateY(-5px) scale(1.03);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 60px -15px rgba(0, 85, 251, 0.25);
}

.badge-top-left {
    top: 10%;
    left: -30px;
    animation: floatBadge1 6s ease-in-out infinite;
}

.badge-bottom-right {
    bottom: 12%;
    right: -20px;
    animation: floatBadge2 7s ease-in-out infinite;
}

.badge-icon {
    width: 36px;
    height: 36px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.badge-status-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    animation: pulseStatus 2s infinite;
    flex-shrink: 0;
}

.badge-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-title {
    font-family: var(--font-subheading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

.badge-sub {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 2px;
}

@keyframes floatBadge1 {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

@keyframes floatBadge2 {
    0% { transform: translateY(0); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0); }
}

@keyframes pulseStatus {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

